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

Respect retries and master timeout when task resolves #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jackman3005
Copy link

Fixed 2 issues for the situation where a task resolves instead of rejects and the call to shouldContinue returns true

  1. If the masterTimeout time has been exceeded, it will now reject the promise.
  2. It will now check if there are retriesRemaining and reject if there are no retries remaining or else decrement remaining retries

Resolves this issue.

Fixed 2 issues for the situation where a task resolves instead of rejects and the call to `shouldContinue` returns true
1. If the `masterTimeout` time has been exceeded, it will now reject the promise.
2. It will now check if there are retries remaining and reject if there are no retries remaining or else decrement remaining retries

Resolves [this issue](joeattardi#16).
@Jackman3005 Jackman3005 force-pushed the master branch 2 times, most recently from 21d769d to 0f5e52b Compare August 29, 2022 02:34
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.

Polling continues after master timeout triggers
1 participant