Skip to content

Commit

Permalink
fix http timeout issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ysmood committed Apr 16, 2020
1 parent 23d80ae commit b17f946
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions server/cert/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ func (ctx *Context) getProvider() (challenge.Provider, error) {
case "dnspod":
conf := dnspod.NewDefaultConfig()
conf.LoginToken = ctx.token
conf.HTTPClient.Timeout = 30 * time.Second
return dnspod.NewDNSProviderConfig(conf)
default:
panic("provider not supported: " + ctx.providerName)
Expand Down
2 changes: 1 addition & 1 deletion server/version.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package server

// Version ...
const Version = "v1.6.1"
const Version = "v1.6.2"

0 comments on commit b17f946

Please sign in to comment.