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

Make rideshare golang-push memory configurable #2632

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

bryanhuhta
Copy link
Contributor

Adds some environment variables to help configure the "memory leak" in the Go rideshare example.

  • PARAMETERS_POOL_SIZE sets the max size of the pool (aka the max number of goroutines that will hang before a reset)
  • PARAMETERS_POOL_BUFFER_SIZE_KB sets the amount of memory each goroutine will allocate in kb

@bryanhuhta bryanhuhta self-assigned this Nov 2, 2023
@bryanhuhta bryanhuhta requested a review from a team as a code owner November 2, 2023 22:27
@bryanhuhta bryanhuhta enabled auto-merge (squash) November 2, 2023 22:27
@bryanhuhta bryanhuhta merged commit 7e9ef48 into main Nov 2, 2023
@bryanhuhta bryanhuhta deleted the parameterize-rideshare branch November 2, 2023 22:39
bryanhuhta added a commit that referenced this pull request Nov 3, 2023
@bryanhuhta bryanhuhta mentioned this pull request Nov 3, 2023
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.

2 participants