Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Periodically save the message ID to the state.json #16

Open
TheTechRobo opened this issue Jun 19, 2022 · 0 comments
Open

Periodically save the message ID to the state.json #16

TheTechRobo opened this issue Jun 19, 2022 · 0 comments

Comments

@TheTechRobo
Copy link
Contributor

TheTechRobo commented Jun 19, 2022

This would be a path to resuming the crawl without using the date filters (which is a bad way to resume since there are the messages loaded when the channel is clicked on included in the dump).

The message ID fetched should preferably be from the top of the loaded messages so it doesn't accidentally skip surrounding messages.

Unlike #6, this would be good for putting inside the task listed as "current" in the state.json so crashed jobs can be quickly and easily resumed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants