[at-spi2-core] Reduce the method call timeout slightly



commit 86a0728d48d6b3df2d9da6a5b0e5701265fe7e8d
Author: Mike Gorse <mgorse novell com>
Date:   Fri Feb 24 16:25:41 2012 -0600

    Reduce the method call timeout slightly
    
    It is likely a good idea for the method call timeout to be lower than
    the registry daemon's keystroke listener timeout. This way, if an AT
    makes a method call that times out while in a keystroke event listener,
    it will still have time to exit the listener before the registry daemon
    presumes it hung.

 atspi/atspi-misc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/atspi/atspi-misc.c b/atspi/atspi-misc.c
index 94b5f9e..e80ec63 100644
--- a/atspi/atspi-misc.c
+++ b/atspi/atspi-misc.c
@@ -835,7 +835,7 @@ atspi_init (void)
   dbus_bus_register (bus, &error);
   atspi_dbus_connection_setup_with_g_main(bus, g_main_context_default());
   dbus_connection_add_filter (bus, atspi_dbus_filter, NULL, NULL);
-  dbind_set_timeout (1000);
+  dbind_set_timeout (800);
   match = g_strdup_printf ("type='signal',interface='%s',member='AddAccessible'", atspi_interface_cache);
   dbus_error_init (&error);
   dbus_bus_add_match (bus, match, &error);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]