Increase the session length in anitya to 24h

Fixes https://github.com/fedora-infra/anitya/issues/340
This commit is contained in:
Pierre-Yves Chibon 2016-10-28 10:59:58 +02:00
parent 4e153f8912
commit b6ee08fac2

View file

@ -1,5 +1,10 @@
# Beware that the quotes around the values are mandatory
from datetime import timedelta
# Set the time after which the session expires
PERMANENT_SESSION_LIFETIME = timedelta(hours=24)
### Secret key for the Flask application
SECRET_KEY='{{ anitya_secret_key }}'