audiobookshelf/server
James Ross d7b3aa5af9 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-09-13 10:33:51 -07:00
..
controllers Update tools endpoint status codes 2024-09-13 10:33:51 -07: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-09-13 10:33:51 -07:00
managers Updates to migrate off of old library model 2024-09-13 10:33:50 -07:00
models Updates to migrate off of old library model 2024-09-13 10:33:50 -07:00
objects Updates to LibraryController to use new Library model 2024-09-13 10:33:50 -07:00
providers Fix:Audible book match not falling back to search after failed ASIN #3314 2024-08-20 17:04:48 -05:00
routers Updates to LibraryController to use new Library model 2024-09-13 10:33:50 -07:00
scanner Updates to migrate off of old library model 2024-09-13 10:33:50 -07:00
utils Updates to migrate off of old library model 2024-09-13 10:33:50 -07:00
Auth.js Update:Create & update API endpoints to create with new data model 2024-08-17 17:18:40 -05:00
Database.js Updates to use new Library model 2024-09-13 10:33:50 -07:00
Logger.js Simplify Logger source 2024-08-14 16:36:10 -05:00
Server.js memorystore: simplify, refactor, re-enable 2024-09-13 10:33:51 -07:00
SocketAuthority.js Update:Auth to use new user model 2024-08-10 15:46:04 -05:00
Watcher.js Updates to LibraryController to use new Library model 2024-09-13 10:33:50 -07:00