Skip to content

Commit

Permalink
increased timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
absolutelightning committed Oct 13, 2023
1 parent acbeac0 commit 4c1b573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/tftmpl/tmplfunc/services_regex.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func (d *servicesRegexQuery) Fetch(clients dep.Clients) (interface{}, *dep.Respo
// Without this delay, CatalogServices may have services that are not yet
// propagated to HealthServices as healthy services since services are initially
// set as critical. https://www.consul.io/docs/discovery/checks#initial-health-check-status
time.Sleep(5 * time.Second)
time.Sleep(10 * time.Second)

var services []*dep.HealthService
for _, s := range matchServices {
Expand Down

0 comments on commit 4c1b573

Please sign in to comment.