]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fixes expiration of the weekly task
authorTrenton H <797416+stumpylog@users.noreply.github.com>
Wed, 8 Feb 2023 17:33:46 +0000 (09:33 -0800)
committerTrenton H <797416+stumpylog@users.noreply.github.com>
Wed, 8 Feb 2023 17:33:46 +0000 (09:33 -0800)
src/paperless/settings.py

index fcd933cfd43a66872878c0a23d11d5d7720a4d5a..fa0f76a91327ce056dc477677dd4b69178a819a9 100644 (file)
@@ -166,8 +166,7 @@ def _parse_beat_schedule() -> Dict:
             "task": "documents.tasks.sanity_check",
             "options": {
                 # 1 hour before default schedule sends again
-                "expires": 7.0
-                * 23.0
+                "expires": ((7.0 * 24.0) - 1.0)
                 * 60.0
                 * 60.0,
             },