fix test fixtures

This commit is contained in:
tycho garen
2021-06-23 11:44:56 -04:00
parent 25c58c0a00
commit 67fb3a5edb
2 changed files with 2 additions and 1 deletions

View File

@@ -63,7 +63,7 @@ func setup(
fastSync: true,
}
chDesc := p2p.ChannelDescriptor{ID: byte(BlockchainChannel)}
chDesc := p2p.ChannelDescriptor{ID: byte(BlockchainChannel), RecvBufferCapacity: 16}
rts.blockchainChannels = rts.network.MakeChannelsNoCleanup(t, chDesc, new(bcproto.Message), int(chBuf))
i := 0

View File

@@ -18,6 +18,7 @@ var (
Priority: 5,
SendQueueCapacity: 10,
RecvMessageCapacity: 10,
RecvBufferCapacity: 8,
MaxSendBytes: 1000,
}