move channel size constant

This commit is contained in:
Jacek Sieka 2020-05-09 08:48:26 +02:00
parent 6196d56fc2
commit fbf640794b
No known key found for this signature in database
GPG Key ID: A1B09461ABB656B8
2 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,6 @@ import types,
logScope:
topic = "MplexCoder"
const DefaultChannelSize* = 1 shl 20
type
Msg* = tuple
id: uint64

View File

@ -22,6 +22,8 @@ export lpstream
logScope:
topic = "MplexChannel"
const DefaultChannelSize* = 1 shl 20
type
LPChannel* = ref object of BufferStream
id*: uint64