This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
Report to Station when the node cannot connect to the network #63
Labels
Station
Work related to Filecoin Station
Detect the situation when the L2 node cannot connect to any L1 node and report the problem back to Station. Let's keep the first version simple:
When the app starts or whenever the number of L1 connections drops to zero, we start a timer for 3 seconds
If there is no L1 connection after this timeout, then we log an event about the problem. Proposed message:
In the current backoff-based retry implementation, we give up connecting after several unsuccessful attempts. When this happens, L2 Node should report the problem to the Station.
In both cases, it's important to print the message only once. We don't want the message to be printed for each L1 client we have, as that would print each message three times.
Related: #62
The text was updated successfully, but these errors were encountered: