tracker r1964 - in branches/indexer-split: . src/tracker-indexer



Author: carlosg
Date: Wed Jul 30 09:20:37 2008
New Revision: 1964
URL: http://svn.gnome.org/viewvc/tracker?rev=1964&view=rev

Log:
2008-07-30  Carlos Garnacho  <carlos imendio com>

        * src/tracker-indexer/tracker-indexer.c (process_func): Reset the
        number of processed items after committing a transaction.


Modified:
   branches/indexer-split/ChangeLog
   branches/indexer-split/src/tracker-indexer/tracker-indexer.c

Modified: branches/indexer-split/src/tracker-indexer/tracker-indexer.c
==============================================================================
--- branches/indexer-split/src/tracker-indexer/tracker-indexer.c	(original)
+++ branches/indexer-split/src/tracker-indexer/tracker-indexer.c	Wed Jul 30 09:20:37 2008
@@ -1033,6 +1033,7 @@
 
 	if (indexer->private->items_processed > TRANSACTION_MAX) {
 		schedule_flush (indexer, TRUE);
+		indexer->private->items_processed = 0;
 	}
 
 	return TRUE;



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