Commit 63d18523 authored by yukang's avatar yukang Committed by vipwzw

ci check

parent 0459fa83
...@@ -185,11 +185,11 @@ func New(cfg *types.Consensus, sub []byte) queue.Module { ...@@ -185,11 +185,11 @@ func New(cfg *types.Consensus, sub []byte) queue.Module {
} }
para.blockSyncClient = &blockSyncClient{ para.blockSyncClient = &blockSyncClient{
paraClient: para, paraClient: para,
notifyChan: make(chan bool, 1), notifyChan: make(chan bool, 1),
quitChan: make(chan struct{}), quitChan: make(chan struct{}),
maxCacheCount: defaultMaxCacheCount, maxCacheCount: defaultMaxCacheCount,
maxSyncErrCount: defaultMaxSyncErrCount, maxSyncErrCount: defaultMaxSyncErrCount,
} }
if subcfg.MaxCacheCount > 0 { if subcfg.MaxCacheCount > 0 {
para.blockSyncClient.maxCacheCount = subcfg.MaxCacheCount para.blockSyncClient.maxCacheCount = subcfg.MaxCacheCount
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment