Dont spam streaming, even in debug output

This commit is contained in:
Ville Ranki 2020-12-20 21:42:42 +02:00
parent e7b35d9c55
commit dcc9049a89
1 changed files with 3 additions and 3 deletions

View File

@ -147,9 +147,9 @@ class MatrixModule(BotModule):
}
with httpx.stream("GET", url, timeout=timeout, headers=headers) as r:
for part in r.iter_text():
self.logger.debug(
f"reading response stream, limiting in {maxsize} bytes"
)
# self.logger.debug(
# f"reading response stream, limiting in {maxsize} bytes"
# )
responsetext += part
maxsize -= len(part)