You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's introduce a lifetime column for the lock table, where we should either keep NULL or a number of seconds -- this is how much time this lock should stay alive. When the time passes, it should automatically be deleted from the database.
BTW, maybe PostgreSQL has some built-in feature for such a functionality and we don't need to create a column. Maybe something like a delayed DELETE query.
The text was updated successfully, but these errors were encountered:
Let's introduce a
lifetime
column for thelock
table, where we should either keepNULL
or a number of seconds -- this is how much time this lock should stay alive. When the time passes, it should automatically be deleted from the database.BTW, maybe PostgreSQL has some built-in feature for such a functionality and we don't need to create a column. Maybe something like a delayed
DELETE
query.The text was updated successfully, but these errors were encountered: