mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 04:25:21 +00:00
- Add debug logging for connect/disconnect/duplicate detection to diagnose issues - Increase stale peer timeout from 60s to 180s (3 minutes) - Increase cleanup timer interval from 30s to 60s - Add safeguard to prevent removing peers with active connections - Improve duplicate nickname detection to check if peer was seen recently (within 10s) - Skip cleanup for peers that still have connected peripherals These changes should help diagnose and fix the connect/disconnect/reconnect pattern and the issue where both clients show no peers even though chat works.