Closed mski-iksm closed 2 years ago
redis_timeout which defines the time before redis lock evaporates, cannot be shorter than 10 seconds, because redis lock is extended every 10 seconds. https://github.com/m3dev/gokart/blob/master/gokart/redis_lock.py#L58
redis_timeout
This PR adds an assert to check that the timeout is not too short.
Please review!
@mski-iksm cool! thx
@hirosassa thx for reviews
redis_timeout
which defines the time before redis lock evaporates, cannot be shorter than 10 seconds, because redis lock is extended every 10 seconds. https://github.com/m3dev/gokart/blob/master/gokart/redis_lock.py#L58This PR adds an assert to check that the timeout is not too short.
Please review!