Skip to content

Commit

Permalink
increase MAX_DOWNLOAD_THREAD to 7, and DOWNLOADER_CONNPOOL_SIZE_PER_T…
Browse files Browse the repository at this point in the history
…HREAD to 10 (#190)
  • Loading branch information
Bodong-Yang authored Jan 13, 2023
1 parent 1f948ab commit 15ab548
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions otaclient/app/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ class BaseConfig:
DOWNLOAD_RETRY: int = 10
DOWNLOAD_BACKOFF_MAX: int = 3 # seconds
MAX_CONCURRENT_TASKS: int = 128
MAX_DOWNLOAD_THREAD = 3
DOWNLOADER_CONNPOOL_SIZE_PER_THREAD: int = 8
MAX_DOWNLOAD_THREAD = 7
DOWNLOADER_CONNPOOL_SIZE_PER_THREAD: int = 10
STATS_COLLECT_INTERVAL: int = 1 # second
## standby creation mode, default to rebuild now
STANDBY_CREATION_MODE = CreateStandbyMechanism.REBUILD
Expand Down

0 comments on commit 15ab548

Please sign in to comment.