[tracker] libtracker-bus: Disable dbus timeouts in updates to the store
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-bus: Disable dbus timeouts in updates to the store
- Date: Mon, 25 Oct 2010 11:55:49 +0000 (UTC)
commit 814980ffaac140812e21a0c60ea5a05d72d1e968
Author: Aleksander Morgado <aleksander lanedo com>
Date: Mon Oct 25 13:45:45 2010 +0200
libtracker-bus: Disable dbus timeouts in updates to the store
src/libtracker-bus/tracker-bus-fd-update.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-bus/tracker-bus-fd-update.c b/src/libtracker-bus/tracker-bus-fd-update.c
index 6de18a4..9122c65 100644
--- a/src/libtracker-bus/tracker-bus-fd-update.c
+++ b/src/libtracker-bus/tracker-bus-fd-update.c
@@ -331,7 +331,7 @@ sparql_update_fast_send (DBusConnection *connection,
dbus_method);
dbus_message_iter_init_append (message, &iter);
dbus_message_iter_append_basic (&iter, DBUS_TYPE_UNIX_FD, &pipefd[0]);
- dbus_connection_send_with_reply (connection, message, &call, -1);
+ dbus_connection_send_with_reply (connection, message, &call, G_MAXINT);
dbus_message_unref (message);
close (pipefd[0]);
@@ -426,7 +426,7 @@ sparql_update_fast_send (DBusConnection *connection,
dbus_method);
dbus_message_iter_init_append (message, &iter);
dbus_message_iter_append_basic (&iter, DBUS_TYPE_UNIX_FD, &pipefd[0]);
- dbus_connection_send_with_reply (connection, message, &call, -1);
+ dbus_connection_send_with_reply (connection, message, &call, G_MAXINT);
dbus_message_unref (message);
close (pipefd[0]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]