Updates the default TCP port throughout the codebase to match the
documentation changes made in the previous commit.
Changes:
- config.py: Update TCP port validator default (line 136)
- config.py: Update environment variable fallback default (line 255)
- test_config.py: Update test assertions (lines 117, 145)
- test_bridge.py: Update test assertion and fixture (lines 23, 63)
- test_command_forwarding.py: Update test fixture (line 20)
- test_rate_limiting.py: Update test fixtures (lines 22, 37)
Co-authored-by: JingleManSweep <jinglemansweep@users.noreply.github.com>
- Implement global send lock to ensure all message operations are rate limited
- Add centralized _rate_limited_send() method with async.Lock for thread safety
- Fix _reset_path() to respect rate limiting via centralized method
- Update all MQTT command handlers to use rate-limited pathways
- Change default message_initial_delay and message_send_delay from 5.0/10.0 to 15.0 seconds
- Update documentation in README.md and CLAUDE.md with new defaults
- Fix test configurations to use zero delays to prevent hanging in test environments
- Prevents repeater congestion by ensuring both incoming and outgoing messages are properly spaced
This addresses the critical issue where rate limiting was bypassed for certain
message pathways, allowing messages to be sent instantly and potentially
causing repeater congestion in mesh networks.