projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7ca33f
)
gdbus: Increase the method call timeout to 5 minutes
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 18 Dec 2012 04:27:09 +0000
(
05:27
+0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 19 Dec 2012 02:50:43 +0000
(
03:50
+0100)
gdbus/client.c
patch
|
blob
|
history
diff --git
a/gdbus/client.c
b/gdbus/client.c
index
d7d9e36
..
4709cdd
100644
(file)
--- a/
gdbus/client.c
+++ b/
gdbus/client.c
@@
-30,6
+30,8
@@
#include "gdbus.h"
+#define METHOD_CALL_TIMEOUT (300 * 1000)
+
struct GDBusClient {
gint ref_count;
DBusConnection *dbus_conn;
@@
-498,7
+500,7
@@
gboolean g_dbus_proxy_method_call(GDBusProxy *proxy, const char *method,
}
if (dbus_connection_send_with_reply(client->dbus_conn, msg,
-
&call, -1
) == FALSE) {
+
&call, METHOD_CALL_TIMEOUT
) == FALSE) {
dbus_message_unref(msg);
g_free(data);
return FALSE;