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 High CPU usage in Event Processor #104

Merged
merged 2 commits into from
Apr 30, 2021

Conversation

dustinburson
Copy link
Member

  • Update core EventProcessor loop to wait indefinitely on cancellation token instead of spin in while loop to reduce CPU usage.
  • Pass ct token into processor.StartProcessingAsync
  • Add optional local.appsettings.json to config loading and add file to gitignore to facilitate local testing

…n token instead of spin in while loop to reduce CPU usage.

* Pass ct token into processor.StartProcessingAsync
* Add optional local.appsettings.json to config loading and add file to gitignore to facilitate local testing
@dustinburson dustinburson merged commit 516d31a into master Apr 30, 2021
@dustinburson dustinburson deleted the personal/duburson/fix-high-cpu branch June 15, 2021 17:10
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.

4 participants