# HG changeset patch # User rosfran # Date 1179328168 -3600 # Node ID 97a33046e7c6b49f4714a26a2fa22dd2a7b7869d # Parent ef870f327d30c4e7fe87ae67bd63dafd03b741f0 [svn r672] Decrease the MonitorHandler timeout on listener callback. diff -r ef870f327d30 -r 97a33046e7c6 gmyth/src/gmyth_monitor_handler.c --- a/gmyth/src/gmyth_monitor_handler.c Wed May 16 15:42:38 2007 +0100 +++ b/gmyth/src/gmyth_monitor_handler.c Wed May 16 16:09:28 2007 +0100 @@ -376,7 +376,9 @@ strlen (*back_msg_action), "SCHEDULE_CHANGE") || g_strstr_len (*back_msg_action, - strlen (*back_msg_action), "LIVETV_WATCH")) + strlen (*back_msg_action), "LIVETV_WATCH") + || g_strstr_len (*back_msg_action, + strlen (*back_msg_action), "SIGNAL")) { gmyth_debug ("MONITOR: message type == GMYTH_BACKEND_PROGRAM_INFO_CHANGED, msg = %s", @@ -539,7 +541,7 @@ io_cond = g_io_channel_get_buffer_condition (io_channel); - g_usleep( 500000 ); + g_usleep( 5000 ); } while (recv <= 0 && ((io_cond & G_IO_HUP) == 0));