fix formatted string in warning message :)

This commit is contained in:
Timothy Pogue 2022-11-25 13:10:22 -07:00
parent 4aa4c6f49d
commit bd95392eea

View File

@ -40,7 +40,7 @@ async def channel_broadcaster(channel: WebSocketChannel, message_stream: Message
# Log a warning if this channel is behind
# on the message stream by a lot
if (time.time() - ts) > 60:
logger.warning("Channel {channel} is behind MessageStream by 1 minute,"
logger.warning(f"Channel {channel} is behind MessageStream by 1 minute,"
" this can cause a memory leak if you see this message"
" often, consider reducing pair list size or amount of"
" consumers.")