Reduce the method call timeout slightly
authorMike Gorse <mgorse@novell.com>
Fri, 24 Feb 2012 22:25:41 +0000 (16:25 -0600)
committerMike Gorse <mgorse@novell.com>
Fri, 24 Feb 2012 22:25:41 +0000 (16:25 -0600)
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

index 94b5f9e..e80ec63 100644 (file)
@@ -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);