dynalite
dynalite copied to clipboard
Add TTL support
Closes #103
- Run background "scanner" job: using
setIntervalto support legacy Node.js not having Worker threads - The job scans items with the TTL attribute. Then, it delete the expired items.
TODO
- [x] Enable TTL Scanner background job only if TTL is enabled
- [x] Configurable scanning job interval
- [x] Delete items from GSI/LSI too
- [x] Testing with a table created w/ TTL, not via
UpdateTimeToLive
I think This PR is now ready to be reviewd.
Also, I recommend to setup GitHub Actions via https://github.com/mhart/dynalite/pull/146
Any chance this is merged soon?
Hi, it looks to me that everything is ready to be merged. May I ask when will all the commits be merged?
@tianshu123 we'll take next steps once I've heard back from @exoego. I haven't seen any remarks or resolved conversations.