Skip to content

Commit

Permalink
Change default parallelism to 32
Browse files Browse the repository at this point in the history
  • Loading branch information
galan committed May 27, 2022
1 parent 42876fa commit 3db8a98
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion internal/cmd/cleanup.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var cleanupParallelism int
func init() {
rootCmd.AddCommand(cleanupCmd)
cleanupCmd.Flags().BoolVarP(&cleanupQuiet, "quiet", "q", false, "Output only affected repositories")
cleanupCmd.Flags().IntVarP(&cleanupParallelism, "parallelism", "p", 64, "How many process should run in parallel, 1 would be no parallelism.")
cleanupCmd.Flags().IntVarP(&cleanupParallelism, "parallelism", "p", 32, "How many process should run in parallel, 1 would be no parallelism.")
}

var cleanupCmd = &cobra.Command{
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/clone.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func init() {
cloneCmd.Flags().StringSliceVarP(&cloneTopics, "topic", "t", nil, "Topics (aka tags/labels) to be filtered. Multiple topics are possible (and).")
cloneCmd.Flags().StringSliceVarP(&cloneExcludePatterns, "exclude", "e", nil, "Regex-pattern not to be matched for the path. Multiple patterns are possible (and).")
cloneCmd.Flags().StringSliceVarP(&cloneIncludePatterns, "include", "i", nil, "Regex-pattern that needs to be matched for the path. Multiple patterns are possible (and).")
cloneCmd.Flags().IntVarP(&cloneParallelism, "parallelism", "p", 64, "How many process should run in parallel, 1 would be no parallelism.")
cloneCmd.Flags().IntVarP(&cloneParallelism, "parallelism", "p", 32, "How many process should run in parallel, 1 would be no parallelism.")
cloneCmd.Flags().BoolVarP(&cloneStarred, "starred", "s", false, "Filter for starred projects")
}

Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var updateParallelism int
func init() {
rootCmd.AddCommand(updateCmd)
updateCmd.Flags().BoolVarP(&updateQuiet, "quiet", "q", false, "Output only affected repositories")
updateCmd.Flags().IntVarP(&updateParallelism, "parallelism", "p", 64, "How many process should run in parallel, 1 would be no parallelism.")
updateCmd.Flags().IntVarP(&updateParallelism, "parallelism", "p", 32, "How many process should run in parallel, 1 would be no parallelism.")
}

var updateCmd = &cobra.Command{
Expand Down

0 comments on commit 3db8a98

Please sign in to comment.