Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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 <laszlo.varady@anno.io>
Signed-off-by: László Várady <laszlo.varady@anno.io>
MrAnno added a commit to MrAnno/axosyslog that referenced this pull request Sep 25, 2024
Signed-off-by: László Várady <laszlo.varady@anno.io>
Signed-off-by: László Várady <laszlo.varady@anno.io>
@MrAnno MrAnno force-pushed the fix-otlp-multiworker-iw branch from 58464de to 9ae0439 Compare September 25, 2024 17:49
@alltilla alltilla merged commit faa4cc0 into axoflow:main Sep 26, 2024
22 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants