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
To detect/prevent issues where the lock seems to be held by a hung block of code, it'd be great if it was possible to set a max number of times the lock could be refreshed.
For example, we just had an issue where we use redis_lock to protect a block of code that generates a shared token, and the token code got hung up:
This module is awesome, and it's working great!
To detect/prevent issues where the lock seems to be held by a hung block of code, it'd be great if it was possible to set a max number of times the lock could be refreshed.
For example, we just had an issue where we use
redis_lock
to protect a block of code that generates a shared token, and the token code got hung up:The "Refreshing Lock" message continues for hours until we explicitly deleted the lock key.
Setting a max number of refreshes would be an easy way to prevent a hung code block from keeping the lock forever.
The text was updated successfully, but these errors were encountered: