Skip to content

Commit

Permalink
increase default rpc client timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Yilun <[email protected]>
  • Loading branch information
yilunzhang committed Jul 15, 2024
1 parent 3956f06 commit d798026
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/httpjson/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/nknorg/nkn/v2/util/log"
)

const requestTimeout = 5 * time.Second
const requestTimeout = 10 * time.Second

// Call sends RPC request to server
func Call(address string, method string, id interface{}, params map[string]interface{}) ([]byte, error) {
Expand Down

0 comments on commit d798026

Please sign in to comment.