Skip to content

Commit 2ab5f7d

Browse files
Merge pull request #12 from gustavosbarreto/master
coap: increase timeout time
2 parents 25ef8af + 4736157 commit 2ab5f7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
)
2020

2121
const (
22-
defaultHTTPTimeout = 5 * time.Second
22+
defaultHTTPTimeout = 30 * time.Second
2323
)
2424

2525
func doHTTPRequest(req *http.Request) (*http.Response, []byte, error) {

0 commit comments

Comments
 (0)