mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-10 00:35:30 +01:00
Fixes expiration of the weekly task
This commit is contained in:
parent
2d9fa58157
commit
8181535f40
1 changed files with 1 additions and 2 deletions
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue