Skip to content

Commit

Permalink
increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
argonaut0 committed Feb 24, 2024
1 parent 4614aad commit f938091
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func retrievePublicIp() (string, error) {
return "", err
}

ctx, cancel := context.WithTimeout(req.Context(), 2*time.Second)
ctx, cancel := context.WithTimeout(req.Context(), 10*time.Second)
defer cancel()

req = req.WithContext(ctx)
Expand Down

0 comments on commit f938091

Please sign in to comment.