audius-protocol icon indicating copy to clipboard operation
audius-protocol copied to clipboard

Fix get node health call

Open vicky-g opened this issue 3 years ago • 0 comments

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()

vicky-g avatar Aug 15 '22 19:08 vicky-g