Skip to content

Commit

Permalink
Reduce ping timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
rtorrero committed Oct 18, 2023
1 parent 556cf88 commit 2aab482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/factsengine/gatherers/sapinstancehostnameresolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const (
var (
hostnameRegexCompiled = regexp.MustCompile(`(.+)_(.+)_(.+)`) // <SID>_<InstanceNumber>_<Hostname>
regexSubgroupsCount = 4
pingTimeout = 2 * time.Second
pingInterval = 1000 * time.Millisecond
pingTimeout = 1 * time.Second
pingInterval = 1 * time.Second
SapInstanceHostnameResolverDetailsError = entities.FactGatheringError{
Type: "sapinstance-hostname-resolver-details-error",
Message: "error gathering details",
Expand Down

0 comments on commit 2aab482

Please sign in to comment.