aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--femtoqueue.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/femtoqueue.py b/femtoqueue.py
index 5c82c1f..e7ffcf8 100644
--- a/femtoqueue.py
+++ b/femtoqueue.py
@@ -53,6 +53,7 @@ class FemtoQueue:
timeout_sec = self.timeout_stale_ms / 1000.0
if self.latest_stale_check_ts is not None and now - self.latest_stale_check_ts < timeout_sec:
return
+ self.latest_stale_check_ts = now
for dir_name in listdir(self.data_dir):
full_dir_path = path.join(self.data_dir, dir_name)