about summary refs log tree commit diff
path: root/web
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2020-08-28T21·44-0400
committerglittershark <grfn@gws.fyi>2020-08-28T21·51+0000
commit74a6a9c8179b8b342b927678f12f825a91d00d04 (patch)
tree4ec97628f8f9bfb5cfb41d0983021be04eb27f33 /web
parent1d9a2cac0931930dcb41ada59cc7f1eb996e3751 (diff)
feat(panettone): Increase session timeout to 90 days r/1731
The default was really annoyingly short - 90 days feels perfectly fine
for what we want, though we may want to increase even further.

Fixes: #19
Change-Id: I917abd95c4925f8491cd2be7cd87d91bb6621153
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1867
Tested-by: BuildkiteCI
Reviewed-by: kanepyork <rikingcoding@gmail.com>
Diffstat (limited to 'web')
-rw-r--r--web/panettone/src/panettone.lisp2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/panettone/src/panettone.lisp b/web/panettone/src/panettone.lisp
index f1c17c283097..9ea82f2efb07 100644
--- a/web/panettone/src/panettone.lisp
+++ b/web/panettone/src/panettone.lisp
@@ -537,6 +537,8 @@
   (when session-secret
     (setq hunchentoot:*session-secret* session-secret))
 
+  (setq hunchentoot:*session-max-time* (* 60 60 24 90))
+
   (setq *acceptor*
         (make-instance 'easy-routes:routes-acceptor :port port))
   (hunchentoot:start *acceptor*))