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

The defaults MaxBytesPerTrace and MaxSearchBytesPerTrace are broken #1110

Closed
BitProcessor opened this issue Nov 11, 2021 · 0 comments · Fixed by #1109
Closed

The defaults MaxBytesPerTrace and MaxSearchBytesPerTrace are broken #1110

BitProcessor opened this issue Nov 11, 2021 · 0 comments · Fixed by #1109

Comments

@BitProcessor
Copy link
Contributor

Source:

f.IntVar(&l.MaxBytesPerTrace, "ingester.max-bytes-per-trace", 50e5, "Maximum size of a trace in bytes. 0 to disable.")
f.IntVar(&l.MaxBytesPerTrace, "ingester.max-search-bytes-per-trace", 50e3, "Maximum size of search data per trace in bytes. 0 to disable.")

As you can see, there has been a mixup in variable names:

  • MaxBytesPerTrace is set twice (with the latter, small incorrect value of 50000)
  • MaxSearchBytesPerTrace is NOT set

Fix: #1109

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 a pull request may close this issue.

1 participant