1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

PORKBUN: support diff2 and two small changes (#1855)

This commit is contained in:
imlonghao
2022-12-13 00:49:32 +08:00
committed by GitHub
parent 54fc2e9ce3
commit 87c32df0c9
2 changed files with 44 additions and 4 deletions

View File

@@ -54,7 +54,7 @@ func (c *porkbunProvider) post(endpoint string, params requestParams) ([]byte, e
// If request sending too fast, the server will fail with the following error:
// porkbun API error: Create error: We were unable to create the DNS record.
time.Sleep(300 * time.Millisecond)
time.Sleep(500 * time.Millisecond)
resp, err := client.Do(req)
if err != nil {
return []byte{}, err