Skip to content

Commit

Permalink
Missed something for new health check flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ripply committed May 25, 2023
1 parent 2ae9cda commit 1dd675b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/health.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ func (s *Server) testBlocksSyncing() error {
}

func (s *Server) testQtumdErrorRate() error {
minimumSuccessRate := float32(0.8)
minimumSuccessRate := float32(*s.healthCheckPercent / 100)
qtumSuccessRate := s.qtumRequestAnalytics.GetSuccessRate()

if qtumSuccessRate < minimumSuccessRate {
Expand Down

0 comments on commit 1dd675b

Please sign in to comment.