Add poll interval flag to flux check cmd

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2021-10-22 09:57:54 +03:00
parent 69e4a86fe2
commit cd52a0eef3
3 changed files with 6 additions and 3 deletions

View File

@ -347,7 +347,7 @@ func (b *PlainGitBootstrapper) ReportComponentsHealth(ctx context.Context, insta
return err
}
checker, err := status.NewStatusChecker(cfg, 2*time.Second, timeout, b.logger)
checker, err := status.NewStatusChecker(cfg, 5*time.Second, timeout, b.logger)
if err != nil {
return err
}