Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cli/src/etos_client/downloader/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ def __print_traceback(self, value: Exception) -> None:
def run(self) -> None:
"""Run the log downloader thread."""
self.started = True
with ThreadPool() as pool:
# 10 is the default max number of connections in Python requests library
with ThreadPool(10) as pool:
while True:
if self.__exit and not self.__clear_queue:
self.logger.warning("Forced to exit without clearing the queue.")
Expand Down