lockbot icon indicating copy to clipboard operation
lockbot copied to clipboard

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

Open connorads opened this issue 5 years ago • 1 comments

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 avatar Oct 15 '20 23:10 connorads

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

connorads avatar Nov 18 '20 23:11 connorads