Increase the session length in anitya to 24h
Fixes https://github.com/fedora-infra/anitya/issues/340
This commit is contained in:
parent
4e153f8912
commit
b6ee08fac2
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
||||||
# Beware that the quotes around the values are mandatory
|
# 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 for the Flask application
|
||||||
SECRET_KEY='{{ anitya_secret_key }}'
|
SECRET_KEY='{{ anitya_secret_key }}'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue