The original discussion is #4461 (comment).
TaskLockBox.lock() is a blocking method and should receive a timeout parameter as usual java blocking methods. It will be useful for many use cases like 1) different timeout for task priorities and 2) retry with exponentially increasing timeout.
The original discussion is #4461 (comment).
TaskLockBox.lock() is a blocking method and should receive a timeout parameter as usual java blocking methods. It will be useful for many use cases like 1) different timeout for task priorities and 2) retry with exponentially increasing timeout.