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
I have a queue of jobs that is started in background whenever there is connexion. It's been three days that one job is stuck in the queue, while more recent jobs were processed without any issue.
const initialQuery = (queueLifespanRemaining) ? 'active == FALSE AND failed == null AND timeout > 0 AND timeout < ' + timeoutUpperBound : 'active == FALSE AND failed == null';
yeah it only process queue that are not active and will skip those active ones i wonder if changing this query to something like:
const initialQuery = (queueLifespanRemaining) ? 'failed == null AND timeout > 0 AND timeout < ' + timeoutUpperBound : 'failed == null';
so that it will process queue as long as it wont hit the retry count?
because there are cases like app was forcefully closed and it is already set to active then boom we cant run that job again
I have a queue of jobs that is started in background whenever there is connexion. It's been three days that one job is stuck in the queue, while more recent jobs were processed without any issue.
{
"0": {
"id": "34c7d35c-8c43-48f3-ac17-880029a7d747",
"name": "place-association",
"payload": "{"stopId":"576e78b9-fa5b-472f-89e9-5c1e3ace7d7b"}",
"data": "{"attempts":1}",
"priority": 10,
"active": true,
"timeout": 5000,
"created": "2018-08-24T19:38:21.128Z",
"failed": null
}
}
For now I set active to false to start it back. Any idea of what's happening ? Thx :)
The text was updated successfully, but these errors were encountered: