Skip to content

Commit

Permalink
Less memory usage
Browse files Browse the repository at this point in the history
  • Loading branch information
UltimaHoarder committed Jun 12, 2021
1 parent d3b14f8 commit 4471bab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apis/api_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ async def json_request(
-response.content_length
)
final_buffer = b"".join(buffer)
buffer.clear()
result = [response, final_buffer]
print
else:
Expand Down

0 comments on commit 4471bab

Please sign in to comment.