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

Switches context range from u16 with a max limit of 65k to a u32 #697

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

scottopell
Copy link
Contributor

What does this PR do?

Changes the units to a larger numerical type that can support >65k contexts. Shouldn't require any other changes past the config layer as the generator converts into a usize which should always fit a u32.

Motivation

I have observed hosts running in the wild with 800k contexts, this should be supported by our dogstatsd generator.

Related issues

A list of issues either fixed, containing architectural discussions, otherwise relevant
for this Pull Request.

Additional Notes

Anything else we should know when reviewing?

@scottopell scottopell force-pushed the sopell/increase-max-context-limit branch from 8076557 to bca0a86 Compare September 11, 2023 11:32
@scottopell scottopell enabled auto-merge (squash) September 11, 2023 11:33
@scottopell scottopell merged commit b4781e4 into main Sep 11, 2023
@scottopell scottopell deleted the sopell/increase-max-context-limit branch September 11, 2023 11:44
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