From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Wed, 8 Feb 2023 17:33:46 +0000 (-0800) Subject: Fixes expiration of the weekly task X-Git-Tag: v1.13.0~1^2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8181535f40591063eb0d3d2e56f6f9268e701012;p=thirdparty%2Fpaperless-ngx.git Fixes expiration of the weekly task --- diff --git a/src/paperless/settings.py b/src/paperless/settings.py index fcd933cfd4..fa0f76a913 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -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, },