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
Currently, at startup we attempt to reconnect to all peers with which we have a channel, even if we were disconnected for a long time when eclair was stopped.
if (nodeParams.autoReconnect && nextPeerData.channels.nonEmpty) { // we only reconnect if nodeParams explicitly instructs us to or there are existing channels
Note that we only try once, and then we immediately set a large delay before attempting a reconnection:
But we could be even more aggressive and not attempt at all to reconnect: we could instead simply pick up the exponential backoff delay for reconnection where we left it.
The text was updated successfully, but these errors were encountered:
Currently, at startup we attempt to reconnect to all peers with which we have a channel, even if we were disconnected for a long time when eclair was stopped.
eclair/eclair-core/src/main/scala/fr/acinq/eclair/io/ReconnectionTask.scala
Line 86 in 57bf860
Note that we only try once, and then we immediately set a large delay before attempting a reconnection:
eclair/eclair-core/src/main/scala/fr/acinq/eclair/io/ReconnectionTask.scala
Lines 92 to 97 in 57bf860
But we could be even more aggressive and not attempt at all to reconnect: we could instead simply pick up the exponential backoff delay for reconnection where we left it.
The text was updated successfully, but these errors were encountered: