mirror of
https://github.com/ipnet-mesh/meshcore-mqtt.git
synced 2026-06-28 22:11:00 +02:00
48e81610b5
- 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.