Skip to content

Commit

Permalink
feat: change defaultPullConcurrency and defaultPushConcurrency to 5
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi committed Jan 14, 2025
1 parent 7400e79 commit 506ba03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmd/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"github.com/spf13/viper"
)

var pushConfig = config.NewPull()
var pushConfig = config.NewPush()

// pushCmd represents the modctl command for push.
var pushCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import "fmt"

const (
// defaultPullConcurrency is the default number of concurrent pull operations.
defaultPullConcurrency = 3
defaultPullConcurrency = 5
)

type Pull struct {
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import "fmt"

const (
// defaultPushConcurrency is the default number of concurrent push operations.
defaultPushConcurrency = 3
defaultPushConcurrency = 5
)

type Push struct {
Expand Down

0 comments on commit 506ba03

Please sign in to comment.