Skip to content

Commit

Permalink
Be less lenient on errors when exec'ing OVS commands
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Constantinescu <aconstan@redhat.com>
  • Loading branch information
alexanderConstantinescu committed Aug 23, 2021
1 parent 74d4723 commit 1e02906
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/util/ovs/ovs.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,11 @@ const (
OVS_VSCTL = "ovs-vsctl"
)

// ~0.05 seconds in total
var ovsBackoff utilwait.Backoff = utilwait.Backoff{
Duration: 500 * time.Millisecond,
Duration: 10 * time.Millisecond,
Factor: 1.25,
Steps: 10,
Steps: 4,
}

// ovsExec implements ovs.Interface via calls to ovs-ofctl and ovs-vsctl
Expand Down

0 comments on commit 1e02906

Please sign in to comment.