statesync: increase chunk priority and robustness (#6582)

This commit is contained in:
Callum Waters
2021-06-18 09:59:52 +02:00
committed by GitHub
parent be8c9833ca
commit d515bbcf1d
7 changed files with 42 additions and 30 deletions

View File

@@ -69,8 +69,8 @@ func (r *Reactor) GetChannels() []*p2p.ChannelDescriptor {
},
{
ID: ChunkChannel,
Priority: 1,
SendQueueCapacity: 4,
Priority: 3,
SendQueueCapacity: 10,
RecvMessageCapacity: chunkMsgSize,
},
}