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

crawl stopping / additional states: #303

Merged
merged 2 commits into from
May 3, 2023
Merged

crawl stopping / additional states: #303

merged 2 commits into from
May 3, 2023

Conversation

ikreymer
Copy link
Member

@ikreymer ikreymer commented May 1, 2023

- adds check for 'isCrawlStopped()' which checks redis key to see if crawl has been stopped externally, and interrupts work
loop and prevents crawl from starting on load
- additional crawl states: 'generate-wacz', 'generate-cdx', 'generate-warc', 'uploading-wacz', and 'pending-wait' to indicate
when crawl is no longer running but crawler performing work
- addresses part of webrecorder/browsertrix#263, webrecorder/browsertrix#637
@ikreymer ikreymer requested a review from tw4l May 1, 2023 20:00
Copy link
Member

@tw4l tw4l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! One comment

@ikreymer ikreymer merged commit f4c4203 into main May 3, 2023
ikreymer pushed a commit to webrecorder/browsertrix that referenced this pull request May 5, 2023
@ikreymer ikreymer deleted the crawl-stopped-check branch May 31, 2023 02:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants