Skip to content

Commit

Permalink
document known --mm:orc crash (#1039)
Browse files Browse the repository at this point in the history
  • Loading branch information
etan-status authored Mar 4, 2024
1 parent 78e8388 commit 8294d5b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libp2p/muxers/mplex/lpchannel.nim
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,10 @@ proc completeWrite(

when defined(libp2p_network_protocols_metrics):
if s.protocol.len > 0:
libp2p_protocols_bytes.inc(msgLen.int64, labelValues=[s.protocol, "out"])
# This crashes on Nim 2.0.2 with `--mm:orc` during `nimble test`
# https://github.com/status-im/nim-metrics/issues/79
libp2p_protocols_bytes.inc(
msgLen.int64, labelValues = [s.protocol, "out"])

s.activity = true
except CancelledError as exc:
Expand Down

0 comments on commit 8294d5b

Please sign in to comment.