audius-protocol
audius-protocol copied to clipboard
Fix get node health call
Description
This PR is to:
- pass in the self content node endpoint to prevent a node from rolling itself off of a replica set
- refactor code slightly
- query the regular health check, not the verbose health check
Tests
- adjusted the unit tests
Monitoring - How will this change be monitored? Are there sufficient logs / alerts?
Since there aren't any functionality changes (except for the code where the tests were modified), the existing logs should suffice. See logs surrounding isNodeHealthy()