-
-
Notifications
You must be signed in to change notification settings - Fork 291
Locking & Unlocking
The lock is created when the client middleware runs
The lock is created when the client middleware runs
The lock is created when the client middleware runs
The lock is created when the server middleware runs.
A first lock (UntilExecuting) is created when the client middleware runs. A second lock (WhileExecuting) is created when the server runs.
The lock is created when the server middleware runs. Duplicates will be pushed to the dead queue after any configured waiting time (lock_timeout) is reached.
The lock is released when the configured lock_expiration is hit. No other unlocking happens, unless you specify the configuration option lock_expiration: kind_of(Integer) the lock would never be released.
The lock is released after your worker is done executing its code.
The lock (UntilExecuting) is released before your worker starts executing its code.
The lock is released after your worker is done executing its code.
The first lock (UntilExecuting) is released before your worker starts executing its code. The second lock is released after your worker is done executing its code.
The locks is released after your worker is done executing its code.