react-native-queue
react-native-queue copied to clipboard
Retry delay before processing a job again
Hello!
Is there any way by which i can delay a job before processing again on failure i.e retry delay ?
@gruffT How does this work? Do i need to pass retryDelay props in queue with some time(seconds/milliseconds?).
That's correct. Pass in the job options via createJob alongside timeout, priority etc.. Set parameter retryDelay to the required delay in ms.
Good luck
On Sat, 15 Feb 2020, 15:28 vishal goel, [email protected] wrote:
@gruffT https://github.com/gruffT How does this work? Do i need to pass retryDelay props in queue with some time(seconds/milliseconds?).
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/billmalarky/react-native-queue/issues/59?email_source=notifications&email_token=AAYIUMNXMA25BFPQYYTGSJLRDACYBA5CNFSM4JIQNPNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3NL7A#issuecomment-586601980, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYIUMLXYYGZY6AM2U4CQW3RDACYBANCNFSM4JIQNPNA .