mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-21 02:09:19 +00:00
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…
x
Reference in New Issue
Block a user