[svn r672] Decrease the MonitorHandler timeout on listener callback. trunk
authorrosfran
Wed May 16 16:09:28 2007 +0100 (2007-05-16)
branchtrunk
changeset 66697a33046e7c6
parent 665 ef870f327d30
child 667 aa8c04b7c362
[svn r672] Decrease the MonitorHandler timeout on listener callback.
gmyth/src/gmyth_monitor_handler.c
     1.1 --- a/gmyth/src/gmyth_monitor_handler.c	Wed May 16 15:42:38 2007 +0100
     1.2 +++ b/gmyth/src/gmyth_monitor_handler.c	Wed May 16 16:09:28 2007 +0100
     1.3 @@ -376,7 +376,9 @@
     1.4                                       strlen (*back_msg_action),
     1.5                                       "SCHEDULE_CHANGE")
     1.6                      || g_strstr_len (*back_msg_action,
     1.7 -                                     strlen (*back_msg_action), "LIVETV_WATCH"))
     1.8 +                                     strlen (*back_msg_action), "LIVETV_WATCH")
     1.9 +                  || g_strstr_len (*back_msg_action,
    1.10 +                                     strlen (*back_msg_action), "SIGNAL"))
    1.11                  {
    1.12                      gmyth_debug
    1.13                          ("MONITOR: message type == GMYTH_BACKEND_PROGRAM_INFO_CHANGED, msg = %s",
    1.14 @@ -539,7 +541,7 @@
    1.15  
    1.16              io_cond = g_io_channel_get_buffer_condition (io_channel);
    1.17  
    1.18 -	    g_usleep( 500000 );
    1.19 +	    g_usleep( 5000 );
    1.20  
    1.21          }
    1.22          while (recv <= 0 && ((io_cond & G_IO_HUP) == 0));