1
0
Fork 0
forked from forgejo/forgejo

Update to github.com/lafriks/xormstore@v1.3.0 (#8317)

This commit is contained in:
Antoine GIRARD 2019-10-02 02:32:12 +02:00 committed by GitHub
parent 3a7e3dbfb4
commit 149758c912
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 1682 additions and 1088 deletions

View file

@ -32,7 +32,7 @@ func limitDial(network, addr string) (net.Conn, error) {
// Dial with a timeout in case the API host is MIA.
// The connection should normally be very fast.
conn, err := net.DialTimeout(network, addr, 500*time.Millisecond)
conn, err := net.DialTimeout(network, addr, 10*time.Second)
if err != nil {
limitRelease()
return nil, err