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

using automaxprocs #301

Merged
merged 3 commits into from
Jul 11, 2022
Merged

using automaxprocs #301

merged 3 commits into from
Jul 11, 2022

Conversation

dgkanatsios
Copy link
Collaborator

Fixes #169

We use Uber's automaxprocs (https://github.com/uber-go/automaxprocs) package to set up the number of concurrent reconcilers for GameServerBuild and GameServer controllers. Each reconciler will run in its own goroutine so we are using the NumCPU (after being set via automaxprocs) to determine the amount of reconcilers we can create.

@dgkanatsios dgkanatsios requested a review from khaines July 11, 2022 04:44
@dgkanatsios dgkanatsios marked this pull request as ready for review July 11, 2022 21:24
@dgkanatsios dgkanatsios merged commit 57c84d9 into main Jul 11, 2022
@dgkanatsios dgkanatsios deleted the gomaxprocs branch July 11, 2022 21:24
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.

Set MaxConcurrentReconciles based on container GOMAXPROCS
2 participants