Skip to content

fix: workers 参数未生效的问题#32

Open
destinyoooo wants to merge 1 commit into
topcss:mainfrom
destinyoooo:main
Open

fix: workers 参数未生效的问题#32
destinyoooo wants to merge 1 commit into
topcss:mainfrom
destinyoooo:main

Conversation

@destinyoooo

Copy link
Copy Markdown

变更说明

修复 CLI 中 --workers 参数未实际生效的问题。参数已定义,但下载镜像层时线程池并发数固定为 4。

修改内容

  • workers 参数传入 download_layers
  • workers <= 0 做兜底,至少使用 1 个 worker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant