tracker r2938 - in trunk: . src/tracker-indexer src/trackerd



Author: mr
Date: Tue Feb 17 17:47:16 2009
New Revision: 2938
URL: http://svn.gnome.org/viewvc/tracker?rev=2938&view=rev

Log:
	* src/tracker-indexer/tracker-indexer.c: Make timeout for flushing
	data to the database 30 seconds instead of 60 seconds to try and
	improve responsiveness for new data.

	* src/trackerd/tracker-dbus.c: Make timeout between receiving a
	DBus request from the user and continuing to index data 5 seconds
	instead of 10 seconds.


Modified:
   trunk/ChangeLog
   trunk/src/tracker-indexer/tracker-indexer.c
   trunk/src/trackerd/tracker-dbus.c

Modified: trunk/src/tracker-indexer/tracker-indexer.c
==============================================================================
--- trunk/src/tracker-indexer/tracker-indexer.c	(original)
+++ trunk/src/tracker-indexer/tracker-indexer.c	Tue Feb 17 17:47:16 2009
@@ -82,7 +82,7 @@
 #define TRACKER_INDEXER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TRACKER_TYPE_INDEXER, TrackerIndexerPrivate))
 
 /* Flush every 'x' seconds */
-#define FLUSH_FREQUENCY		    60
+#define FLUSH_FREQUENCY		    30
 
 #define SIGNAL_STATUS_FREQUENCY     10
 

Modified: trunk/src/trackerd/tracker-dbus.c
==============================================================================
--- trunk/src/trackerd/tracker-dbus.c	(original)
+++ trunk/src/trackerd/tracker-dbus.c	Tue Feb 17 17:47:16 2009
@@ -49,7 +49,7 @@
 #include "tracker-status.h"
 #include "tracker-main.h"
 
-#define INDEXER_PAUSE_TIME_FOR_REQUESTS 10 /* seconds */
+#define INDEXER_PAUSE_TIME_FOR_REQUESTS 5 /* seconds */
 
 static DBusGConnection *connection;
 static DBusGProxy      *gproxy;



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