add message type to channel descriptor

This commit is contained in:
William Banfield
2022-10-19 21:21:58 -04:00
parent 1919727904
commit 396e3d80ac
6 changed files with 7 additions and 0 deletions
+2
View File
@@ -66,12 +66,14 @@ func (r *Reactor) GetChannels() []*p2p.ChannelDescriptor {
Priority: 5,
SendQueueCapacity: 10,
RecvMessageCapacity: snapshotMsgSize,
MessageType: &ssproto.Message{},
},
{
ID: ChunkChannel,
Priority: 3,
SendQueueCapacity: 10,
RecvMessageCapacity: chunkMsgSize,
MessageType: &ssproto.Message{},
},
}
}