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

otel: fix multi-worker window and fetch-limit calculation #310

Merged
merged 3 commits into from
Sep 26, 2024

Conversation

MrAnno
Copy link
Member

@MrAnno MrAnno commented Sep 25, 2024

init_window_size was always 0 when workers() was set to >1, because it was placed too early in the init() method: -1 / num_workers .

This also fixes opentelemetry() and axosyslog-otlp() when workers() > 1,
because originally init_window_size was always set to 0
(-1 / num_workers).

Signed-off-by: László Várady <[email protected]>
Signed-off-by: László Várady <[email protected]>
MrAnno added a commit to MrAnno/axosyslog that referenced this pull request Sep 25, 2024
Signed-off-by: László Várady <[email protected]>
Signed-off-by: László Várady <[email protected]>
@alltilla alltilla merged commit faa4cc0 into axoflow:main Sep 26, 2024
22 checks passed
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