move codec string to mplex.nim

This commit is contained in:
Dmitriy Ryajov 2020-04-07 16:07:54 -06:00
parent eb5d49fa5b
commit d79a9476a0
2 changed files with 1 additions and 1 deletions

View File

@ -24,6 +24,7 @@ import ../muxer,
logScope:
topic = "Mplex"
const MplexCodec* = "/mplex/6.7.0"
const DefaultRWTimeout = InfiniteDuration
type

View File

@ -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