Skip to content

Commit 15ab548

Browse files
authored
increase MAX_DOWNLOAD_THREAD to 7, and DOWNLOADER_CONNPOOL_SIZE_PER_THREAD to 10 (#190)
1 parent 1f948ab commit 15ab548

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

otaclient/app/configs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ class BaseConfig:
104104
DOWNLOAD_RETRY: int = 10
105105
DOWNLOAD_BACKOFF_MAX: int = 3 # seconds
106106
MAX_CONCURRENT_TASKS: int = 128
107-
MAX_DOWNLOAD_THREAD = 3
108-
DOWNLOADER_CONNPOOL_SIZE_PER_THREAD: int = 8
107+
MAX_DOWNLOAD_THREAD = 7
108+
DOWNLOADER_CONNPOOL_SIZE_PER_THREAD: int = 10
109109
STATS_COLLECT_INTERVAL: int = 1 # second
110110
## standby creation mode, default to rebuild now
111111
STANDBY_CREATION_MODE = CreateStandbyMechanism.REBUILD

0 commit comments

Comments
 (0)