Skip to content

Commit ccbf2a4

Browse files
committed
perf(go): increase retries and timeouts
1 parent 513a678 commit ccbf2a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clients/go/chainbridge/chainbridge.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@ func NewChainBridge(socketFileOrCommandName string, commandArgs ...string) *Chai
101101
return &ChainBridge{
102102
cmd: cmd,
103103
socketFile: socketFileOrCommandName,
104-
dialRetries: 10,
105-
dialTimeout: 3 * time.Second,
106-
cmdTimeout: 20 * time.Second,
107104
idCounter: 0,
105+
dialRetries: 15,
106+
dialTimeout: 10 * time.Second,
107+
cmdTimeout: 50 * time.Second,
108108
reconnect: true,
109109
isConnected: false,
110110
}

0 commit comments

Comments
 (0)