diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-05-14 09:26:39 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-05-14 09:26:39 +0300 |
| commit | bc8b3484a557575c728435c0a4cad5ad296323b2 (patch) | |
| tree | 9f2d8a97cd717a16a5b808ed20c9d0cdb2640d69 /femtoqueue.py | |
| parent | 3e738c6743cc50e21b4b09d77abde922ebbfc0a7 (diff) | |
Update latest_stale_check_ts after check
Diffstat (limited to 'femtoqueue.py')
| -rw-r--r-- | femtoqueue.py | 1 |
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) |
