Skip to content

feat: change defaultPullConcurrency and defaultPushConcurrency to 5#55

Merged
gaius-qi merged 1 commit intomainfrom
feature/concurrency
Jan 14, 2025
Merged

feat: change defaultPullConcurrency and defaultPushConcurrency to 5#55
gaius-qi merged 1 commit intomainfrom
feature/concurrency

Conversation

@gaius-qi
Copy link
Member

This pull request includes changes to the concurrency settings and variable initialization for push and pull operations in the configuration files. The most important changes are as follows:

Concurrency settings:

  • pkg/config/pull.go: Increased the default number of concurrent pull operations from 3 to 5.
  • pkg/config/push.go: Increased the default number of concurrent push operations from 3 to 5.

Variable initialization:

  • cmd/push.go: Changed the initialization of pushConfig from config.NewPull() to config.NewPush().

@gaius-qi gaius-qi added the enhancement New feature or request label Jan 14, 2025
@gaius-qi gaius-qi self-assigned this Jan 14, 2025
@gaius-qi gaius-qi force-pushed the feature/concurrency branch from 506ba03 to f6f5eb6 Compare January 14, 2025 03:28
Copy link
Member

@chlins chlins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@gaius-qi gaius-qi merged commit 1893ee9 into main Jan 14, 2025
5 checks passed
@gaius-qi gaius-qi deleted the feature/concurrency branch January 14, 2025 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants