Skip to content

Commit 9e77938

Browse files
authored
GANDI_V5: Increase API timeouts (#3770)
1 parent 850a2bd commit 9e77938

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

providers/gandiv5/gandi_v5Provider.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import (
2121
"sort"
2222
"strconv"
2323
"strings"
24+
"time"
2425

2526
"github.com/StackExchange/dnscontrol/v4/models"
2627
"github.com/StackExchange/dnscontrol/v4/pkg/diff2"
@@ -119,6 +120,7 @@ func newLiveDNSClient(client *gandiv5Provider) *livedns.LiveDNS {
119120
SharingID: client.sharingid,
120121
Debug: client.debug,
121122
APIURL: client.apiurl,
123+
Timeout: 10 * time.Minute, // A ludicrously long timeout
122124
})
123125
return g
124126
}

0 commit comments

Comments
 (0)