Merge pull request #4230 from wpaulino/increase-zmq-timeout
chainregistry: increase zmq connection timeout with bitcoind backend
This commit is contained in:
commit
957b34262a
@ -314,7 +314,7 @@ func newChainControlFromConfig(cfg *config, chanDB *channeldb.DB,
|
|||||||
activeNetParams.Params, bitcoindHost,
|
activeNetParams.Params, bitcoindHost,
|
||||||
bitcoindMode.RPCUser, bitcoindMode.RPCPass,
|
bitcoindMode.RPCUser, bitcoindMode.RPCPass,
|
||||||
bitcoindMode.ZMQPubRawBlock, bitcoindMode.ZMQPubRawTx,
|
bitcoindMode.ZMQPubRawBlock, bitcoindMode.ZMQPubRawTx,
|
||||||
100*time.Millisecond,
|
5*time.Second,
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
Loading…
Reference in New Issue
Block a user