pubsubpeer.connectImpl keeps running and attempting to reestablish connection even when node is shutting down.
expected behavior:
all logic related to pubsub protocol should be stoppend when switch is stopped.
how to reproduce:
- run
Flood publish to all peers with score above threshold, regardless of subscription test it trace debug lvl
- observer logs at the end of
stdout:
Could not establish send connection
connection not found
Error dialing
etc...
note: since nodes are gracefully stopped there should be no logs of this kind