[tracker/tracker-0.10] tracker-store: Increase maximum signal size from 1000 to 50000 triples



commit 45201e37e4848034178d4b8357dfa843d45ed350
Author: Jürg Billeter <j bitron ch>
Date:   Fri Apr 8 10:29:10 2011 +0200

    tracker-store: Increase maximum signal size from 1000 to 50000 triples
    
    1000 triples is reached very quickly, especially with signals pending
    for multiple classes. 50000 triples should still not require more than
    1 MB of memory for signals at any time.

 src/tracker-store/tracker-resources.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-store/tracker-resources.vala b/src/tracker-store/tracker-resources.vala
index a31f380..deb7da5 100644
--- a/src/tracker-store/tracker-resources.vala
+++ b/src/tracker-store/tracker-resources.vala
@@ -22,7 +22,7 @@
 public class Tracker.Resources : Object {
 	public const string PATH = "/org/freedesktop/Tracker1/Resources";
 
-	const int GRAPH_UPDATED_IMMEDIATE_EMIT_AT = 1000;
+	const int GRAPH_UPDATED_IMMEDIATE_EMIT_AT = 50000;
 	const int SIGNALS_SECONDS_PER_EMIT = 1;
 
 	/* I *know* that this is some arbitrary number that doesn't seem to



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