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

How to test maxStalledCount? #1610

Closed
selient opened this issue Jan 13, 2020 · 3 comments
Closed

How to test maxStalledCount? #1610

selient opened this issue Jan 13, 2020 · 3 comments
Labels

Comments

@selient
Copy link

selient commented Jan 13, 2020

My bull repeatable job queue has stopped working twice in last two month,
and I checked the document found this "maxStalledCount" I can set.
But how do we manually test how this works?
Is there any method can stall a job?

@manast
Copy link
Member

manast commented Jan 13, 2020

Can you be more specific regarding "stop working" ?

@stansv
Copy link
Contributor

stansv commented Jan 13, 2020

@selient just restart a worker while the job is in progress, then after some time (determined by lockDuration) you'll notice there're new hash field appeared on a job key, called stalledCounter. Job would be restarted only while this value less than maxStalledCount.

@stale
Copy link

stale bot commented Jul 12, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jul 12, 2021
@manast manast closed this as completed Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants