Dont spam streaming, even in debug output
This commit is contained in:
parent
e7b35d9c55
commit
dcc9049a89
|
@ -147,9 +147,9 @@ class MatrixModule(BotModule):
|
||||||
}
|
}
|
||||||
with httpx.stream("GET", url, timeout=timeout, headers=headers) as r:
|
with httpx.stream("GET", url, timeout=timeout, headers=headers) as r:
|
||||||
for part in r.iter_text():
|
for part in r.iter_text():
|
||||||
self.logger.debug(
|
# self.logger.debug(
|
||||||
f"reading response stream, limiting in {maxsize} bytes"
|
# f"reading response stream, limiting in {maxsize} bytes"
|
||||||
)
|
# )
|
||||||
|
|
||||||
responsetext += part
|
responsetext += part
|
||||||
maxsize -= len(part)
|
maxsize -= len(part)
|
||||||
|
|
Loading…
Reference in New Issue