Commit graph

6 commits

Author SHA1 Message Date
Gered f6aaf5e074 update tests again 2022-01-02 18:53:16 -05:00
Gered 70d301afb3 update tests 2022-01-02 18:30:21 -05:00
Gered a79fed3246 replace event functions with session expiry ttl, and tweak opts param
the events function stuff always seemed very overkill to me. i cannot
think of any other criteria i've ever wanted for session expiry other
than "expire based on some period of idle time elapsing" and an event
function being used to provide this seems a bit too much to me.

thusly, this has all been replaced with a simple ttl value (specified
in seconds) as a non-optional argument to aging-memory-store.

also change the aging-memory-store opts parameter, it must now be an
explicit map if provided
2022-01-02 15:53:43 -05:00
Gered 257c8caf10 update tests 2022-01-02 15:09:25 -05:00
Gered 1fd154c4f6 read-session should return nil when there is no value
this is to be consistent with most all other implementations of
ring's SessionStore that i've seen
2022-01-02 14:51:19 -05:00
Gered 6b9e11880f initial commit. forking original from tag "0.3.1" by Kira Systems
https://github.com/kirasystems/aging-session
2021-12-29 17:22:01 -05:00