mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-24 16:48:55 +00:00
Fixes expiration of the weekly task
This commit is contained in:
1 parent
2d9fa58157
commit
8181535f40
1 file changed
+1
-2
@@ -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,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user