From 74a6a9c8179b8b342b927678f12f825a91d00d04 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Fri, 28 Aug 2020 17:44:21 -0400 Subject: feat(panettone): Increase session timeout to 90 days 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 --- web/panettone/src/panettone.lisp | 2 ++ 1 file changed, 2 insertions(+) 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*)) -- cgit 1.4.1