Skip to content

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

Merged
alltilla merged 3 commits intoaxoflow:mainfrom
MrAnno:fix-otlp-multiworker-iw
Sep 26, 2024
Merged

otel: fix multi-worker window and fetch-limit calculation#310
alltilla merged 3 commits intoaxoflow:mainfrom
MrAnno:fix-otlp-multiworker-iw

Conversation

@MrAnno
Copy link
Contributor

@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]>
@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
HofiOne pushed a commit to HofiOne/axosyslog that referenced this pull request Mar 13, 2025
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