Skip to content

Commit

Permalink
set 15 retries
Browse files Browse the repository at this point in the history
  • Loading branch information
coddmeistr committed Jan 9, 2025
1 parent 7c62694 commit 72b55a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ retry:
if err != nil {
if os.IsNotExist(err) {
retries++
if retries > 10 {
if retries > 15 {
log.Fatal("Couldn't wait for wg0.json config to be created. Timed out")
}
time.Sleep(time.Duration(1) * time.Second)
Expand Down

0 comments on commit 72b55a1

Please sign in to comment.