mirror of
https://github.com/vacp2p/nim-libp2p-experimental.git
synced 2025-01-12 03:14:15 +00:00
tmp
This commit is contained in:
parent
80c3f94945
commit
0677853c97
@ -131,7 +131,7 @@ method handle*(m: Mplex) {.async, gcsafe.} =
|
||||
while not m.connection.atEof:
|
||||
trace "waiting for data", m
|
||||
let
|
||||
(id, msgType, data) = await m.connection.readMsg()
|
||||
(id, msgType, data) = await m.connection.readMsg().wait(10.minutes)
|
||||
initiator = bool(ord(msgType) and 1)
|
||||
|
||||
logScope:
|
||||
|
Loading…
x
Reference in New Issue
Block a user