How can I mark requests in the queue as unprocessed? #1232
Replies: 4 comments
-
Are you running on the Apify platform or elsewhere?
|
Beta Was this translation helpful? Give feedback.
-
@metalwarrior665 what about adding the request back to the queue as new one, with a different |
Beta Was this translation helpful? Give feedback.
-
Yes, sorry I didn't specify, I'm talking about a local script using the Apify SDK. I saw that queues are stored in SQLite databases, but I can't figure out how exactly a query is marked as done. Can you tell me a little bit about that? The option of going directly to the database works for me, but I don't know exactly what I should change. |
Beta Was this translation helpful? Give feedback.
-
@B4nan If you know the request ID, then you can easily renew it like in the link I mentioned (no need to create new requests). If this solution will not work for some reason, you can do a diff between your start URLs and results but it gets complicated when you have complicated pagination logic etc. Then you can add them to the queue from the outside as new requests |
Beta Was this translation helpful? Give feedback.
-
How can I make requests in the RequestQueueue queue available for re-processing? I am interested in how to do this both for the entire queue and for individual requests.
Suppose the actor has processed all the requests in the queue, but I want to run it again on existing requests. Or re-process only some of them. Is this possible?
Beta Was this translation helpful? Give feedback.
All reactions