Skip to contentSkip to conversation

ab-janitor: Avoid spamming the logs when files are really new

PATCH New Richard Purdie 1 participant 1 message Oct 15, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ab-janitor: Avoid spamming the logs when files are really new

---
 janitor/ab-janitor | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
janitor/ab-janitor +1 -1
index 659817e..bb58390 100755
@@ -54,8 +54,8 @@ def trash_processor(trashdir):
                 time.sleep(120*60) # 30 minutes
         except Exception as e:
             print("Exception %s in trash cleaner" % str(e))
-            time.sleep(60) # 1 minute timeout to prevent crazy looping
             pass
+        time.sleep(60) # 1 minute timeout to prevent crazy looping (particularly in age is only)
     return
 
 def mirror_processor(mirrordir):