Skip to content

Commit

Permalink
try to get host ids for 3 times
Browse files Browse the repository at this point in the history
  • Loading branch information
Eslam-Nawara committed Nov 6, 2024
1 parent 6aef276 commit 5793935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grid-client/deployer/deployment_deployer.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func (d *DeploymentDeployer) calculateNetworksUsedIPs(ctx context.Context, dls [
usedHosts[dl.NetworkName][dl.NodeID] = append(usedHosts[dl.NetworkName][dl.NodeID], usedHostIDs...)
return nil
}
if err := backoff.Retry(check, backoff.WithMaxRetries(backoff.NewConstantBackOff(1*time.Nanosecond), 5)); err != nil {
if err := backoff.Retry(check, backoff.WithMaxRetries(backoff.NewConstantBackOff(1*time.Nanosecond), 2)); err != nil {
mu.Lock()
defer mu.Unlock()
errs = multierror.Append(errs, err)
Expand Down

0 comments on commit 5793935

Please sign in to comment.