more verbose cleaning message

master
Alexander Graf 3 years ago
parent 4c4031ab74
commit 7bede55fce

@ -445,7 +445,7 @@ class MailuSessionExtension:
with cleaned.get_lock(): with cleaned.get_lock():
if not cleaned.value: if not cleaned.value:
cleaned.value = True cleaned.value = True
flask.current_app.logger.info('cleaning') flask.current_app.logger.info('cleaning session store')
MailuSessionExtension.cleanup_sessions(app) MailuSessionExtension.cleanup_sessions(app)
app.before_first_request(cleaner) app.before_first_request(cleaner)

Loading…
Cancel
Save