diff options
| author | elioat <elioat@tilde.institute> | 2025-11-15 18:44:27 -0500 |
|---|---|---|
| committer | elioat <elioat@tilde.institute> | 2025-11-15 18:44:27 -0500 |
| commit | b394dba6b05d45d58839626c76b2b6c9043676e0 (patch) | |
| tree | b2c4c6cf8cc9bb87559d9e4b7293061c3c86b66b /tinybasic | |
| parent | 2681493e6d1e35d49f7234f8b0768dcfaa1069d1 (diff) | |
| download | tour-b394dba6b05d45d58839626c76b2b6c9043676e0.tar.gz | |
Increase heartbeat timeouts and disable terminal echo
Fixes:
1. Increase peer_unresponsive_threshold_s from 10s to 120s (2 minutes)
- Allows idle peers to stay connected indefinitely
- Requires 6+ minutes of confirmed unresponsiveness before removal
- Gives time for network reconnections
2. Disable terminal echo when reading input
- Prevents raw input from being displayed
- Users now see only formatted chat messages with timestamps
- Works for both interactive and piped input
Result:
- Idle peers stay connected (Issue 2 fixed)
- Input echo eliminated (partial fix for Issue 1)
Diffstat (limited to 'tinybasic')
0 files changed, 0 insertions, 0 deletions