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

improve exit features: individual instance exit + exit code for interrupt #366

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

ikreymer
Copy link
Member

@ikreymer ikreymer commented Sep 6, 2023

  • if interrupted (via signal or due to limits) and not finished, return error code 11 to indicate interruption
  • allow stopping single instances with hset <crawlid>:stopone uid (similar to status)
  • deliberate stop via redis not considered interruption (exit 0)
  • lower edit recheck time

- if interrupted (via signal or due to limits) and not finished, return error code 11 to indicate interruption
- allow stopping single instances with hset '<crawlid>:stopone' uid (similar to status)
- deliberate stop via redis not considered interruption (exit 0)
@ikreymer ikreymer requested a review from tw4l September 6, 2023 00:46
@ikreymer ikreymer merged commit b95c535 into main Sep 6, 2023
2 checks passed
@ikreymer ikreymer deleted the improved-single-instance-exit branch September 13, 2023 01:44
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