shrub/pkg/arvo/sys/vane
Fang 00e3159287
eyre: clear expired sessions/cookies from state
Instead of setting a timer for every session, we set a single expiry
timer when the first session is created. On the subsequent wake event,
we clear all cookies that have expired at that time, then set a timer
for when the next session expires.

This approach gives us flexibility wrt sessions going forward, allowing
extending or early deleting of sessions without having to care about the
related timers.

Note that in +load, we clear all existing sessions. We would start the
expiry timer flow there, but can't. Forcing the user to login again
post-ota once isn't the end of the world.
2020-05-29 15:28:44 +02:00
..
ames.hoon ames: don't set new timer if we woke up too early 2020-05-27 17:38:18 -07:00
behn.hoon behn: already deleted, don't need to do it again 2020-05-27 18:47:50 -07:00
clay.hoon clay: don't underflow when patch produces empty file 2020-03-31 11:37:58 -07:00
dill.hoon vane: jet-hints all vanes for profiling 2020-03-03 14:17:42 -08:00
eyre.hoon eyre: clear expired sessions/cookies from state 2020-05-29 15:28:44 +02:00
ford.hoon ford: print source line on syntax error 2020-04-08 21:11:15 -04:00
gall.hoon Merge branch 'release/link-dojo' (#2867) 2020-05-21 22:42:18 -07:00
iris.hoon vane: downcast all error notifications to %crud 2020-02-26 16:56:17 -08:00
jael.hoon vane: jet-hints all vanes for profiling 2020-03-03 14:17:42 -08:00