Skip to content

Add batching configuration options#1

Merged
w0l4i merged 1 commit intomainfrom
w0l4i-patch-1
Apr 26, 2026
Merged

Add batching configuration options#1
w0l4i merged 1 commit intomainfrom
w0l4i-patch-1

Conversation

@w0l4i
Copy link
Copy Markdown
Owner

@w0l4i w0l4i commented Apr 26, 2026

Added new configuration o## Overview
This PR addresses the performance bottlenecks identified in issue therealaleph#263. As discussed, it moves hardcoded constants related to batching and timeouts into the configuration file.

Changes

  • Added batch_timeout_ms to config (default: 10000ms).
  • Added batch_coalesce_window_ms to config (default: 8ms).
  • Added max_batch_ops to config (default: 50).ptions for batching with defaults. ## Impact
    Users in high-latency environments (like GAS relays) can now tune these parameters to prevent long-tail blocking and improve tunnel responsiveness.

Added new configuration o## Overview
This PR addresses the performance bottlenecks identified in issue therealaleph#263. 
As discussed, it moves hardcoded constants related to batching and timeouts into the configuration file.

## Changes
- Added `batch_timeout_ms` to config (default: 10000ms).
- Added `batch_coalesce_window_ms` to config (default: 8ms).
- Added `max_batch_ops` to config (default: 50).ptions for batching with defaults.
## Impact
Users in high-latency environments (like GAS relays) can now tune these parameters to prevent long-tail blocking and improve tunnel responsiveness.
@w0l4i w0l4i merged commit 901f524 into main Apr 26, 2026
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.

1 participant