move channel size constant
This commit is contained in:
parent
6196d56fc2
commit
fbf640794b
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue