fix(playout): increase file download chunk size to 8192 bytes (#2863)

This commit is contained in:
Jonas L 2024-01-01 13:07:27 +01:00 committed by GitHub
parent 0ce63f3bf0
commit 7ed1be1816
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class PypoFile(Thread):
with file_event.local_filepath.open("wb") as file_fd:
try:
response = self.api_client.download_file(file_event.id, stream=True)
for chunk in response.iter_content(chunk_size=2048):
for chunk in response.iter_content(chunk_size=8192):
file_fd.write(chunk)
except requests.exceptions.HTTPError as exception: