Posted: 2 days ago Quote #227
Hi,

I'm just wondering if anyone knows whether it is possible to persist Limiter information between restarts of a service that includes the Crawler-Lib Engine?

i.e. if I have a service that limits requests to perhaps 50,000 requests per 7 days, but there is no guarantee that the service would be running over that entire duration (server restarts etc), I would like to save the state of the Limiter in the shutdown event, and then repopulate the limiter with that state on the next restart of the service.

I've looked over the documentation and can't see where the state of the limiter is exposed anywhere – I guess I could have a go at implementing a whole new limiter, but didn't really want to reinvent the wheel if I've missed something obvious.

Thanks for any suggestions.

Cheers,

Ben