Replies: 1 comment 4 replies
-
If the nodes should stay connected unconditionally, you can set
|
Beta Was this translation helpful? Give feedback.
-
If the nodes should stay connected unconditionally, you can set
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am trying to make my nodes to be connected even if they disconnect due to no activity. The set of nodes in the system and adresseses are known and fixed, for the moment.
My first approach was upon a Connection closed event, I dial again, but this doesn't works always. I understand the "connection" state machine is more complex than that.
Should I dial before trying to send a request response message? When I see the disconnect? Should I schedule a dial in an exponential backoff strategy? I found a method called "add_external_address", should I call it only once? It looks like nodes "forget" the address of peers.
The question is wide, but I want to understand how this works and what are the possibilities. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions