You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New connections that are established without any activities would close almost immediately. Eg, if the node isnt subscribed to the same topic as another peer, or if dht is not performing queries, the connection may close right away after a connection is established. This is more observed when connecting to another peer over relay from actual use. While this isnt a problem, it might be better to implement a behaviour with a handler that keeps the initial connection alive for a specific amount of time (that is configurable) before allowing swarm to close the connection handler.
This will deprecate UninitializedIpfs::enable_keepalive
This implementation does not refresh KeepAlive at this time, so once the timer is up, it may close if no other behaviour is keeping the connection open.
The text was updated successfully, but these errors were encountered:
New connections that are established without any activities would close almost immediately. Eg, if the node isnt subscribed to the same topic as another peer, or if dht is not performing queries, the connection may close right away after a connection is established. This is more observed when connecting to another peer over relay from actual use. While this isnt a problem, it might be better to implement a behaviour with a handler that keeps the initial connection alive for a specific amount of time (that is configurable) before allowing swarm to close the connection handler.
Note:
idle_connection_timeout
config option libp2p/rust-libp2p#4121 is resolved.UninitializedIpfs::enable_keepalive
KeepAlive
at this time, so once the timer is up, it may close if no other behaviour is keeping the connection open.The text was updated successfully, but these errors were encountered: