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

sleep wait timeout in watcher on unhandled error #27

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

huwylphimet
Copy link
Contributor

Since the watcher runs in an infinite loop, a sleep time should be applied on unhandled exception like for example on Redis connection error (e.g. while calling blpop() in redis backend wait_many()).
Furthermore, the exception error should reflect the abortable middleware instead of the time limit middleware (replaced "time limit handler" exception string with "abort watcher").

Since the watcher runs in an infinite loop, a sleep time should be applied on unhandled exception like for example on Redis connection error (e.g. while calling blpop() in redis backend wait_many()).  
Furthermore, the exception error should reflect the abortable middleware instead of the time limit middleware (replaced "time limit handler" exception string with "abort watcher").
@isra17 isra17 merged commit eb492e7 into Flared:master Aug 30, 2024
3 of 4 checks passed
@huwylphimet huwylphimet deleted the patch-1 branch September 4, 2024 06:21
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