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 <rikingcoding@gmail.com>
This commit is contained in:
Griffin Smith 2020-08-28 17:44:21 -04:00 committed by glittershark
parent 1d9a2cac09
commit 74a6a9c817

View file

@ -537,6 +537,8 @@
(when session-secret (when session-secret
(setq hunchentoot:*session-secret* session-secret)) (setq hunchentoot:*session-secret* session-secret))
(setq hunchentoot:*session-max-time* (* 60 60 24 90))
(setq *acceptor* (setq *acceptor*
(make-instance 'easy-routes:routes-acceptor :port port)) (make-instance 'easy-routes:routes-acceptor :port port))
(hunchentoot:start *acceptor*)) (hunchentoot:start *acceptor*))