[tracker/tracker-0.6] Reduce stats cache timeout from 5 minutes to 2 minutes
- From: Martyn James Russell <mr src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker/tracker-0.6] Reduce stats cache timeout from 5 minutes to 2 minutes
- Date: Wed, 24 Jun 2009 11:59:35 +0000 (UTC)
commit b9339b694b958298c42a61ebb8a293ae909e9dde
Author: Martyn Russell <martyn imendio com>
Date: Wed Jun 24 09:35:45 2009 +0100
Reduce stats cache timeout from 5 minutes to 2 minutes
src/trackerd/tracker-daemon.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/trackerd/tracker-daemon.c b/src/trackerd/tracker-daemon.c
index c0b6b79..58ea155 100644
--- a/src/trackerd/tracker-daemon.c
+++ b/src/trackerd/tracker-daemon.c
@@ -45,8 +45,8 @@
#define TRACKER_TYPE_G_STRV_ARRAY (dbus_g_type_get_collection ("GPtrArray", G_TYPE_STRV))
-/* In seconds (5 minutes for now) */
-#define STATS_CACHE_LIFETIME 300
+/* In seconds (2 minutes for now) */
+#define STATS_CACHE_LIFETIME 120
typedef struct {
TrackerConfig *config;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]