[kupfer] core: Make minimal rescan wait longer in PeriodicRescanner



commit 382b1cb1dd718a23e3463bba00c047833abf4772
Author: Ulrik Sverdrup <ulrik sverdrup gmail com>
Date:   Sun May 9 16:25:25 2010 +0100

    core: Make minimal rescan wait longer in PeriodicRescanner

 kupfer/core/sources.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/kupfer/core/sources.py b/kupfer/core/sources.py
index 6eaec86..e734901 100644
--- a/kupfer/core/sources.py
+++ b/kupfer/core/sources.py
@@ -31,7 +31,7 @@ class PeriodicRescanner (pretty.OutputMixin):
 		self.timer = scheduler.Timer()
 		# Source -> time mapping
 		self.latest_rescan_time = {}
-		self._min_rescan_interval = campaign//10
+		self._min_rescan_interval = campaign//4
 
 	def set_catalog(self, catalog):
 		self.catalog = catalog



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