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: logScope:
topic = "MplexCoder" topic = "MplexCoder"
const DefaultChannelSize* = 1 shl 20
type type
Msg* = tuple Msg* = tuple
id: uint64 id: uint64

View File

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