The request is no longer marked as in progress in the queue?! #1231
Replies: 2 comments 1 reply
-
The reclaiming of requests is done automatically by BasicCrawler. If you want to retry a request throw an error inside the handler. If you don't want to retry, let the handler return. |
Beta Was this translation helpful? Give feedback.
-
Okay, I get it, if I don't want to keep trying to run the query, I throw an exception. Then there is a question. In some cases we are sure that the error is temporary and we need to keep trying, sooner or later the query will execute successfully. Is there any way to increase the retryCount for the current query? And is there any way to make sure that the next attempt is not made earlier than, say, 10 minutes? |
Beta Was this translation helpful? Give feedback.
-
What exactly does this warning mean?
I want to implement the following behavior:
That is, I want to either put the request to reclaim or skip depending on the text of error message. I see this warning after each execution of
await queue.reclaimRequest(request)
. Does this mean that the request has not returned to the queue and I am doing something wrong?Beta Was this translation helpful? Give feedback.
All reactions