archethic-node icon indicating copy to clipboard operation
archethic-node copied to clipboard

Connection: create a connectionState process

Open bchamagne opened this issue 1 year ago • 0 comments

In order to check if a connection is open, instead of relying on a ETS table & the connection process, we suggest to delegate this to a new process.

Basically we want:

  • Connection handles only the socket
  • ConnectionState is used to check connection (without checking the socket), and probably later have stats etc.

Originally posted by @samuelmanzanera in https://github.com/archethic-foundation/archethic-node/pull/1100#discussion_r1231305227

bchamagne avatar Jun 19 '23 07:06 bchamagne