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

fix(client): Add delay within catch block in JobWorker.PollJobs to avoid server hogging. #217

Merged
merged 1 commit into from
Feb 22, 2021

Conversation

terjeinnerdal
Copy link
Contributor

closes #216

@CLAassistant
Copy link

CLAassistant commented Feb 17, 2021

CLA assistant check
All committers have signed the CLA.

@ChrisKujawa
Copy link
Collaborator

Hey @terjeinnerdal thanks for providing an PR for this and @daghb for opening this issue. Do you guys think it makes sense to have an exponential retry strategy instead, like it was added here #172 You could simply call it like this https://github.com/zeebe-io/zeebe-client-csharp/blob/61655f61968ed6318581e8658813d8f0c0b941da/Client/Impl/Commands/CancelWorkflowInstanceCommand.cs#L36

…ing without delay if an RpcException is thrown
@ChrisKujawa
Copy link
Collaborator

Awesome thanks @terjeinnerdal

@ChrisKujawa ChrisKujawa merged commit 018dd34 into camunda-community-hub:master Feb 22, 2021
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.

RPC exception causes a loop with thousands of requests and log entries each second.
3 participants