mirror of
https://github.com/vacp2p/nim-libp2p.git
synced 2025-03-03 09:31:08 +00:00
move codec string to mplex.nim
This commit is contained in:
parent
eb5d49fa5b
commit
d79a9476a0
@ -24,6 +24,7 @@ import ../muxer,
|
|||||||
logScope:
|
logScope:
|
||||||
topic = "Mplex"
|
topic = "Mplex"
|
||||||
|
|
||||||
|
const MplexCodec* = "/mplex/6.7.0"
|
||||||
const DefaultRWTimeout = InfiniteDuration
|
const DefaultRWTimeout = InfiniteDuration
|
||||||
|
|
||||||
type
|
type
|
||||||
|
@ -11,7 +11,6 @@ import chronos
|
|||||||
|
|
||||||
const MaxMsgSize* = 1 shl 20 # 1mb
|
const MaxMsgSize* = 1 shl 20 # 1mb
|
||||||
const MaxChannels* = 1000
|
const MaxChannels* = 1000
|
||||||
const MplexCodec* = "/mplex/6.7.0"
|
|
||||||
const MaxReadWriteTime* = 5.seconds
|
const MaxReadWriteTime* = 5.seconds
|
||||||
|
|
||||||
type
|
type
|
||||||
|
Loading…
x
Reference in New Issue
Block a user