From d0c972c69bd88765c1035d53276a63efd0d6b4d8 Mon Sep 17 00:00:00 2001 From: Polish Hammer Date: Fri, 2 May 2025 20:09:11 +0200 Subject: [PATCH] M --- conjurer_musician/revoke_shares.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conjurer_musician/revoke_shares.py b/conjurer_musician/revoke_shares.py index c68822b..a3f19f3 100755 --- a/conjurer_musician/revoke_shares.py +++ b/conjurer_musician/revoke_shares.py @@ -66,7 +66,7 @@ def record_downloads(lines, metadata, args): def revoke_old(metadata, args): now = time.time() - to_remove = [tok for tok, ts in metadata.items() if now - ts >= 120] + to_remove = [tok for tok, ts in metadata.items() if now - ts >= 3600] for tok in to_remove: link = SHARE_DIR / tok try: