Skip to content

Make multiplexer constants configurable via env vars#390

Merged
ludeeus merged 12 commits intoNabuCasa:mainfrom
bdraco:multiplex_const_env_vars
Mar 4, 2025
Merged

Make multiplexer constants configurable via env vars#390
ludeeus merged 12 commits intoNabuCasa:mainfrom
bdraco:multiplex_const_env_vars

Conversation

@bdraco
Copy link
Copy Markdown
Collaborator

@bdraco bdraco commented Mar 3, 2025

The following environment variables are available to override internal defaults:

  • MULTIPLEXER_INCOMING_QUEUE_MAX_BYTES_CHANNEL - The maximum number of bytes allowed in the incoming queue for each multiplexer channel.
  • MULTIPLEXER_INCOMING_QUEUE_LOW_WATERMARK - The low watermark threshold, in bytes, for the incoming queue for each multiplexer channel.
  • MULTIPLEXER_INCOMING_QUEUE_HIGH_WATERMARK - The high watermark threshold, in bytes, for the incoming queue for each multiplexer channel.
  • MULTIPLEXER_OUTGOING_QUEUE_MAX_BYTES_CHANNEL - The maximum number of bytes allowed in the outgoing queue for the multiplexer channel.
  • MULTIPLEXER_OUTGOING_QUEUE_LOW_WATERMARK - The low watermark threshold, in bytes, for the outgoing queue for each multiplexer channel.
  • MULTIPLEXER_OUTGOING_QUEUE_HIGH_WATERMARK - The high watermark threshold, in bytes, for the outgoing queue for each multiplexer channel.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Mar 3, 2025

CodSpeed Performance Report

Merging #390 will not alter performance

Comparing bdraco:multiplex_const_env_vars (4b5ffe1) with main (4df7a7f)

Summary

✅ 2 untouched benchmarks

@bdraco bdraco marked this pull request as ready for review March 3, 2025 08:52
Copy link
Copy Markdown
Member

@ludeeus ludeeus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ludeeus ludeeus merged commit 506c0eb into NabuCasa:main Mar 4, 2025
7 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