add sliding session

This commit is contained in:
prance 2022-01-31 21:05:29 +01:00
parent ef4717415e
commit 385080c25d

View File

@ -142,7 +142,7 @@ AVAILABLE_PORTS_RANGE = (6000, 7000)
DOCKER_IMAGE = 'openrefine:latest' DOCKER_IMAGE = 'openrefine:latest'
SESSION_EXPIRE_AT_BROWSER_CLOSE = True SESSION_EXPIRE_AT_BROWSER_CLOSE = True
SESSION_COOKIE_AGE = 60 * 60 SESSION_COOKIE_AGE = 2 * 60
CELERY_BROKER_URL = 'redis+socket:///var/run/redis/redis-server.sock' CELERY_BROKER_URL = 'redis+socket:///var/run/redis/redis-server.sock'
CELERY_TIMEZONE = "Europe/Warsaw" CELERY_TIMEZONE = "Europe/Warsaw"
@ -153,3 +153,4 @@ CELERY_BEAT_SCHEDULE = {
} }
} }
X_FRAME_OPTIONS = 'ALLOW-FROM https://randomsec.projektstudencki.pl/' X_FRAME_OPTIONS = 'ALLOW-FROM https://randomsec.projektstudencki.pl/'
SESSION_SAVE_EVERY_REQUEST = True