Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TTL to DynamoDB so that stale locks expire (albeit silently, for data cleanup purposes) #62

Open
connorads opened this issue Oct 15, 2020 · 1 comment

Comments

@connorads
Copy link
Owner

connorads commented Oct 15, 2020

Locks last forever and will never be cleaned up. Even random locks in users DMs or random dead channels. Might be good to get rid of these?

Two weeks?
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/TTL.html

@connorads
Copy link
Owner Author

Maybe this would be covered by #7 with a default expiry value.

@connorads connorads changed the title Add TTL so that stale locks expire Add TTL to DynamoDB so that stale locks expire (albeit silently, for data cleanup purposes) Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant