Retry job only when internet is connected
vishgoel007 opened this issue · 3 comments
vishgoel007 commented
Can we retry job only when internet is connected ?
And can we retry job after some interval ?
SimonErm commented
At work i use react-native-netinfo to get the networkstate and just start the queue if internet is available. I don't know if that would fit your needs.
Retry after interval is currently not implemented. But feel free to do a PR.
vishgoel007 commented
@SimonErm I made it work using react-native-netinfo and setInterval
for retry job after some interval.
SimonErm commented
👍