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
Is your feature request related to a problem? Please describe.
The current worker.getNextJob is either blocking (default) or non-blocking. the problem is that the blocking version does not have a configurable timeout to release the lock. if we await for this, it'll be forever
Describe the solution you'd like
a timeout option for when block is true
Describe alternatives you've considered
passing block: false and harassing the server in a loop with await setTimeout in between to tame the worker
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The current
worker.getNextJob
is either blocking (default) or non-blocking. the problem is that the blocking version does not have a configurable timeout to release the lock. if we await for this, it'll be foreverDescribe the solution you'd like
a timeout option for when
block
is trueDescribe alternatives you've considered
passing
block: false
and harassing the server in a loop withawait setTimeout
in between to tame the workerThe text was updated successfully, but these errors were encountered: