Closed GportDev closed 3 weeks ago
If we did not listen from the node in 3 heartbeat then we should clean the database of this particular node
I've verified that the node expiration is indeed executed, and the node is marked as expired in the database, the heartbeats seem like they are working properly.
@susmit85 @GportDev
When the nodes do not hear from another node for 3 heartbeats, it marks that node expired. Expired nodes are not currently deleted from the database.
I am not sure if we want to clean the database upon every hydra initiation. Since the database is persistent, the hydra picks up whatever was previously there.
Please correct this if not so: @susmit85 @GportDev