Skip to content

Commit 4736157

Browse files
coap: increase timeout time
1 parent 25ef8af commit 4736157

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)