Skip to content

Commit

Permalink
Set session expiry to 6 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
mawandm committed Aug 1, 2024
1 parent 6ce0552 commit 0839f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nesis/api/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"memcache": {
"hosts": [os.environ.get("NESIS_MEMCACHE_HOSTS", "127.0.0.1:11211")],
"session": {
"expiry": os.environ.get("NESIS_API_MEMCACHE_SESSION_EXPIRY") or 1800
"expiry": os.environ.get("NESIS_API_MEMCACHE_SESSION_EXPIRY") or 21600
},
"cache": {
"timeout_default": 300,
Expand Down

0 comments on commit 0839f61

Please sign in to comment.