mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-11 10:00:48 -05:00
Fixes expiration of the weekly task
This commit is contained in:
parent
2d9fa58157
commit
8181535f40
@ -166,8 +166,7 @@ def _parse_beat_schedule() -> Dict:
|
|||||||
"task": "documents.tasks.sanity_check",
|
"task": "documents.tasks.sanity_check",
|
||||||
"options": {
|
"options": {
|
||||||
# 1 hour before default schedule sends again
|
# 1 hour before default schedule sends again
|
||||||
"expires": 7.0
|
"expires": ((7.0 * 24.0) - 1.0)
|
||||||
* 23.0
|
|
||||||
* 60.0
|
* 60.0
|
||||||
* 60.0,
|
* 60.0,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user