Fixes expiration of the weekly task

This commit is contained in:
Trenton H 2023-02-08 09:33:46 -08:00
parent 2d9fa58157
commit 8181535f40

View 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,
},