[ENHANCEMENT] Make server concurrency/timeouts configurable #16

Open
opened 2026-02-14 21:21:22 +00:00 by thabeta · 0 comments
Owner

The HTTP server in src/server/mod.rs uses hardcoded values for concurrency limits (currently 1024) and likely timeouts.

Issue: These values cannot be adjusted based on host resources without recompiling the binary.

Proposed Fix: Move ConcurrencyLimitLayer values and request timeout durations into the Config struct provided in config.toml.

The HTTP server in `src/server/mod.rs` uses hardcoded values for concurrency limits (currently 1024) and likely timeouts. **Issue:** These values cannot be adjusted based on host resources without recompiling the binary. **Proposed Fix:** Move `ConcurrencyLimitLayer` values and request timeout durations into the `Config` struct provided in `config.toml`.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
geomind_code/my_fs#16
No description provided.