Skip to content
Snippets Groups Projects
Commit 76c8b9e1 authored by Martin Mareš's avatar Martin Mareš
Browse files

Garbage collector volá automatickou opravu submitů

parent c92d3b80
Branches
No related tags found
1 merge request!109Automatická oprava rozbitých PDF
This commit is part of merge request !109. Comments created here will be created in the context of that merge request.
......@@ -16,6 +16,7 @@ import mo.config as config
import mo.db as db
import mo.ext.assets
import mo.jobs
import mo.jobs.submit
import mo.rights
import mo.users
import mo.util
......@@ -177,6 +178,7 @@ app.before_request(init_request)
def collect_garbage() -> None:
mo.now = mo.util.get_now()
mo.jobs.submit.check_broken_submits()
mo.jobs.process_jobs()
mo.users.expire_reg_requests()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment