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

High CPU consumption when the connection is lost. #363

Closed
XPhilipp opened this issue Nov 22, 2021 · 1 comment · Fixed by #364
Closed

High CPU consumption when the connection is lost. #363

XPhilipp opened this issue Nov 22, 2021 · 1 comment · Fixed by #364
Assignees
Labels
bug Something isn't working

Comments

@XPhilipp
Copy link
Contributor

XPhilipp commented Nov 22, 2021

Describe the bug
High CPU consumption when the connection is lost, or Zeebe is restarting.

To Reproduce
Steps to reproduce the behavior:

  1. Run zeebe-client-csharp
  2. Stop Zeebe server
  3. See error

Expected behavior
Await Pooling Interval.
Simple fix add in file JobWorker.cs after line 163:
await Task.Delay(pollInterval, cancellationToken);

Enviroment (please complete the following information):

  • OS: [e.g. iOS]
  • Version [e.g. 22]

Additional context
see pool request #364

@XPhilipp
Copy link
Contributor Author

Maybe a better way to have a dedicated "Restart Interval"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants