network
network copied to clipboard
feat: add logging for message buffering and failed instruction handling
Add logging when messages are added to and dropped from propagation buffers. Add warnings for cases where fulfilling all tracker instructions fail.
NET-897 client: Logs when messages are queued
- Print warnings when messages are queued:
- Immediate warning: WARN - message queued in stream X due to no peers connected. It will be delivered once there is at least one peer.
- Error after timeout: ERROR - failed to publish message to stream X. No peers successfully connected before timeout. Message discarded.