diff options
| author | Pierre-Yves Chibon <pingou@pingoured.fr> | 2016-10-28 10:59:58 +0200 |
|---|---|---|
| committer | Pierre-Yves Chibon <pingou@pingoured.fr> | 2016-10-28 10:59:59 +0200 |
| commit | b6ee08fac2a8502fd57e8f3c97c3fd1984b95f5b (patch) | |
| tree | 78810ef5afba1b1a1da0a337bdcc34f5f019b150 /roles/anitya | |
| parent | 4e153f8912ed415a6a45f4f46265247075487ae0 (diff) | |
| download | ansible-b6ee08fac2a8502fd57e8f3c97c3fd1984b95f5b.tar.gz ansible-b6ee08fac2a8502fd57e8f3c97c3fd1984b95f5b.tar.xz ansible-b6ee08fac2a8502fd57e8f3c97c3fd1984b95f5b.zip | |
Increase the session length in anitya to 24h
Fixes https://github.com/fedora-infra/anitya/issues/340
Diffstat (limited to 'roles/anitya')
| -rw-r--r-- | roles/anitya/frontend/templates/anitya.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/anitya/frontend/templates/anitya.cfg b/roles/anitya/frontend/templates/anitya.cfg index ed8a23db0..3aa6c3f06 100644 --- a/roles/anitya/frontend/templates/anitya.cfg +++ b/roles/anitya/frontend/templates/anitya.cfg @@ -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 }}' |
