Problem
The exponential backoff in accept_loop has hardcoded values (10ms initial delay → 1s max cap). This makes it difficult to tune the server's behaviour for different environments or use cases.
Suggested Solution
Consider making the initial delay and maximum cap configurable, or at minimum pull them out as named constants for better maintainability and documentation.
Context
Identified during code review of PR #262: #262
Comment: #262 (comment)
Issue: #264
Files Affected
Problem
The exponential backoff in
accept_loophas hardcoded values (10ms initial delay → 1s max cap). This makes it difficult to tune the server's behaviour for different environments or use cases.Suggested Solution
Consider making the initial delay and maximum cap configurable, or at minimum pull them out as named constants for better maintainability and documentation.
Context
Identified during code review of PR #262: #262
Comment: #262 (comment)
Issue: #264
Files Affected
src/server/runtime.rs