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
Hello, sometimes I have an error when I trying to get or set lock. Looks like the error need to be handled
Traceback:
IndexError: list index out of range
File "aioredlock/algorithm.py", line 142, in lock
await self._set_lock(resource, lock_identifier, lease_time)
File "aioredlock/algorithm.py", line 77, in _set_lock
elapsed_time = await self.redis.set_lock(resource, lock_identifier, lease_time)
File "aioredlock/redis.py", line 355, in set_lock
raise_error(successes, 'Can not acquire the lock "%s"' % resource)
File "aioredlock/redis.py", line 28, in raise_error
raise LockError(default_message) from errors[0]
The text was updated successfully, but these errors were encountered:
Hello, sometimes I have an error when I trying to get or set lock. Looks like the error need to be handled
Traceback:
The text was updated successfully, but these errors were encountered: