move channel size constant
This commit is contained in:
parent
6196d56fc2
commit
fbf640794b
|
@ -18,8 +18,6 @@ import types,
|
|||
logScope:
|
||||
topic = "MplexCoder"
|
||||
|
||||
const DefaultChannelSize* = 1 shl 20
|
||||
|
||||
type
|
||||
Msg* = tuple
|
||||
id: uint64
|
||||
|
|
|
@ -22,6 +22,8 @@ export lpstream
|
|||
logScope:
|
||||
topic = "MplexChannel"
|
||||
|
||||
const DefaultChannelSize* = 1 shl 20
|
||||
|
||||
type
|
||||
LPChannel* = ref object of BufferStream
|
||||
id*: uint64
|
||||
|
|
Loading…
Reference in New Issue