maxcountryman / tower-sessions-stores

🚃 Previously bundled session stores for `tower-sessions`.
https://github.com/maxcountryman/tower-sessions
MIT License
27 stars 19 forks source link

feat(moka): use Moka per-entry time-based eviction policy #30

Closed arcstur closed 5 months ago

arcstur commented 5 months ago

This uses Moka's per-entry eviction policy using the record's expiry date. With that, expired records are automatically removed from the cache, making it consume less resources and avoiding the current expiry check on load.

maxcountryman commented 5 months ago

This is released as 0.13.0.