Skip to content

Commit

Permalink
Change auditor's client config.
Browse files Browse the repository at this point in the history
Enable attempt to revive dead nodes.
Set read preference to Any.
  • Loading branch information
aalda committed Apr 11, 2019
1 parent af25d17 commit 67bf1c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/agent_auditor.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ func runAgentAuditor(cmd *cobra.Command, args []string) error {

notifier := gossip.NewSimpleNotifierFromConfig(conf.Notifier)
qed, err := client.NewHTTPClientFromConfig(conf.Qed)
conf.Qed.AttemptToReviveEndpoints = true
conf.Qed.ReadPreference = client.Any
if err != nil {
return err
}
Expand Down

0 comments on commit 67bf1c4

Please sign in to comment.