audiobookshelf/server
James Ross ec197b2e13 memorystore: simplify, refactor, re-enable
Removes a lot of unused (in ABS) functionality, refactors to ES6
style class, and re-enables this custom implementation with check
period and ttl of 1 day, and 1000 max entries.

The class now only implments the required (as per express-session docs)
methods and removes optional methods, except touch() which allows the
TTL of an entry to be refreshed without affecting its LRU recency.

There is no longer a way to stop the prune timer, but I don't belive
the function was ever being called beforehand. The session store's
lifetime is the same as the application's, and since it is unref()'d
should not cause any shutdown issues.
2024-08-22 03:55:51 +00:00
..
controllers Update:Create & update API endpoints to create with new data model 2024-08-17 17:18:40 -05:00
finders Fix:Add timeout to provider matching default to 30s #3000 2024-05-25 16:32:02 -05:00
libs memorystore: simplify, refactor, re-enable 2024-08-22 03:55:51 +00:00
managers Add: Backup notification (#3225) 2024-08-18 14:32:05 -05:00
models Update:Create & update API endpoints to create with new data model 2024-08-17 17:18:40 -05:00
objects Add: Backup notification (#3225) 2024-08-18 14:32:05 -05:00
providers Update:Validate ASIN for author, chapter and match requests 2024-06-09 13:43:03 -05:00
routers Update API JS docs 2024-08-11 17:01:25 -05:00
scanner Update Nfo scanner and auto-formatting 2024-07-18 16:09:40 -05:00
utils Add: Backup notification (#3225) 2024-08-18 14:32:05 -05:00
Auth.js Update:Create & update API endpoints to create with new data model 2024-08-17 17:18:40 -05:00
Database.js Update:Create & update API endpoints to create with new data model 2024-08-17 17:18:40 -05:00
Logger.js Simplify Logger source 2024-08-14 16:36:10 -05:00
Server.js memorystore: simplify, refactor, re-enable 2024-08-22 03:55:51 +00:00
SocketAuthority.js Update:Auth to use new user model 2024-08-10 15:46:04 -05:00
Watcher.js Update:Watcher pending delay to 10s. Increase file mtime check interval to 3s and timeout to 600s. Remove file from pending scan if it times out. 2024-06-14 16:50:09 -05:00