Commit 87e1c50d authored by Charles Hebert's avatar Charles Hebert
Browse files

Clean revocation key after starting the instance

parent ba9edb8b1464
......@@ -14,4 +14,6 @@ class ServerStartupHook(hooksmanager.Hook):
session.execute('DELETE Fpasswd F WHERE F revocation_date < %(date)s', {'date': datetime.now()})
session.commit()
session.close()
# revocation keu must be deleted
cleaning_revocation_key(repo)
repo.looping_task(60 * 60, cleaning_revocation_key, repo)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment