[tracker/gdbus: 21/21] libtracker-bus: Disable D-Bus timeout for queries and updates



commit f7c0473b12a5e8d22be1c4d208272639b369f9d0
Author: Jürg Billeter <j bitron ch>
Date:   Mon Oct 25 14:50:42 2010 +0200

    libtracker-bus: Disable D-Bus timeout for queries and updates

 src/libtracker-bus/tracker-bus.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-bus/tracker-bus.vala b/src/libtracker-bus/tracker-bus.vala
index 2b0dc97..13acad2 100644
--- a/src/libtracker-bus/tracker-bus.vala
+++ b/src/libtracker-bus/tracker-bus.vala
@@ -74,9 +74,11 @@ public class Tracker.Bus.Connection : Tracker.Sparql.Connection {
 		resources_object = GLib.Bus.get_proxy_sync (BusType.SESSION,
 		                                            TRACKER_DBUS_SERVICE,
 		                                            TRACKER_DBUS_OBJECT_RESOURCES);
+		resources_object.set_default_timeout (int.MAX);
 		steroids_object = GLib.Bus.get_proxy_sync (BusType.SESSION,
 		                                           TRACKER_DBUS_SERVICE,
 		                                           TRACKER_DBUS_OBJECT_STEROIDS);
+		steroids_object.set_default_timeout (int.MAX);
 		statistics_object = GLib.Bus.get_proxy_sync (BusType.SESSION,
 		                                             TRACKER_DBUS_SERVICE,
 		                                             TRACKER_DBUS_OBJECT_STATISTICS);



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