mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-21 22:59:16 +02:00
The default timeout is 25s
This commit is contained in:
parent
bdc29f82d3
commit
6e8637e478
@ -95,11 +95,6 @@
|
|||||||
* kind of pitfalls it avoids
|
* kind of pitfalls it avoids
|
||||||
* - Export objects before claiming names
|
* - Export objects before claiming names
|
||||||
* - Talk about auto-starting services (cf. GBusNameWatcherFlags)
|
* - Talk about auto-starting services (cf. GBusNameWatcherFlags)
|
||||||
*
|
|
||||||
* - Mention in all API that the GVariant is sunk. Also mention
|
|
||||||
* when the returned GVariant is floating.
|
|
||||||
*
|
|
||||||
* - Consistent timeout handling (25s vs 30s?)
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -1288,7 +1283,7 @@ g_dbus_connection_send_message_with_reply_unlocked (GDBusConnection *connect
|
|||||||
out_serial = &serial;
|
out_serial = &serial;
|
||||||
|
|
||||||
if (timeout_msec == -1)
|
if (timeout_msec == -1)
|
||||||
timeout_msec = 30 * 1000; /* TODO: check 30 secs is the default timeout */
|
timeout_msec = 25 * 1000;
|
||||||
|
|
||||||
simple = g_simple_async_result_new (G_OBJECT (connection),
|
simple = g_simple_async_result_new (G_OBJECT (connection),
|
||||||
callback,
|
callback,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user