Skip to content

feat: HealthManager should be used for all protocol-level & overall health status #2197

@danisharora099

Description

@danisharora099

Problem

For any js-waku consumer, getting to know how to react/respond to certain protocol health status is crucial. Example: if LightPush has 0 peers, while Filter has >0 peers, Filter works for that node while LightPush does not. This is crucial information for the consumer apps that is hard to aggregate and find. For this, we introduced HealthManager

During the last release ([email protected]), we made some hot fixes which in turn removed usage of protocols' peer management out of PeerManager, thus impacting HealthManager's abilities to report correct information.

Solution

Readjust protocols to correctly report data back to the HealthManager.

cc @vpavlin

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions