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

additional fixes for worker getting stuck #396

Merged
merged 1 commit into from
Sep 27, 2023
Merged

additional fixes for worker getting stuck #396

merged 1 commit into from
Sep 27, 2023

Conversation

ikreymer
Copy link
Member

@ikreymer ikreymer commented Sep 26, 2023

Based on analysis of logs where a worker appeared to be stuck, adding additional timeouts to operations:

  • await page.close() if not finished within 20s
  • await crawler.pageFinished() if not finished within 60s (in case config is being written)

Hopefully fix for #391

- await page.close() if not finished within 20s
- await crawler.pageFinished() if not finished within 60s (in case config is being written)
@ikreymer ikreymer requested a review from tw4l September 26, 2023 20:37
@ikreymer ikreymer merged commit 52817c7 into main Sep 27, 2023
2 checks passed
@ikreymer ikreymer deleted the more-timeouts branch September 27, 2023 22:46
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