move codec string to mplex.nim
This commit is contained in:
parent
eb5d49fa5b
commit
d79a9476a0
|
@ -24,6 +24,7 @@ import ../muxer,
|
|||
logScope:
|
||||
topic = "Mplex"
|
||||
|
||||
const MplexCodec* = "/mplex/6.7.0"
|
||||
const DefaultRWTimeout = InfiniteDuration
|
||||
|
||||
type
|
||||
|
|
|
@ -11,7 +11,6 @@ import chronos
|
|||
|
||||
const MaxMsgSize* = 1 shl 20 # 1mb
|
||||
const MaxChannels* = 1000
|
||||
const MplexCodec* = "/mplex/6.7.0"
|
||||
const MaxReadWriteTime* = 5.seconds
|
||||
|
||||
type
|
||||
|
|
Loading…
Reference in New Issue