Open Bec-k opened 5 months ago
I guess that this counter is representing current runtime handled requests and not the whole handled requests of the queue... I guess you need another counter, which will represent totalHandledRequestCount or lifetimeHandledRequestCount or overallHandledRequestCount.
Which package is this bug report for? If unsure which one to select, leave blank
@crawlee/cheerio (CheerioCrawler)
Issue description
Create a queue with a name. Add 5 requests into the queue to it. Exit before queue is depleted. Restart app and check requestQueue.getInfo() It will have handledRequestCount:0, even though totalRequestCount will be 5.
Code sample
No response
Package version
3.9.2
Node.js version
v22.1.0
Operating system
Ubuntu
Apify platform
I have tested this on the
next
release3.9.3-beta.42
Other context
There are also problems with actual
handledRequestCount:1 is incorrect, i have fetched queueInfo after
await crawler.run();