Temporarily disabled extra-level log statement

This commit is contained in:
Mark Qvist 2023-03-04 19:30:47 +01:00
parent a1b75b9746
commit d8f3ad8d3f
1 changed files with 4 additions and 1 deletions

View File

@ -380,7 +380,10 @@ class Channel(contextlib.AbstractContextManager):
for envelope in self._tx_ring:
if envelope.outlet == self._outlet and (not envelope.packet
or self._outlet.get_packet_state(envelope.packet) == MessageState.MSGSTATE_SENT):
RNS.log("Channel: Link has a pending message.", RNS.LOG_EXTREME)
# TODO: Check if this should be enabled with some kind of
# rate limiting, since it currently floods log output when
# messages are waiting.
# RNS.log("Channel: Link has a pending message.", RNS.LOG_EXTREME)
return False
return True