You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(private-org-sync): process repos in parallel with configurable workers
Extract per-repo sync logic into a syncRepo function and process repos
concurrently using a worker pool. The --parallelism flag (default 4)
controls the number of concurrent workers. Each worker gets its own copy
of the gitSyncer struct, avoiding races on the mutable logger field.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fs.BoolVar(&o.failOnNonexistentDst, "fail-on-missing-destination", false, "Set true to make the tool to consider missing sync destination as an error")
145
147
146
148
fs.BoolVar(&o.debug, "debug", false, "Set true to enable debug logging level")
149
+
fs.IntVar(&o.parallelism, "parallelism", 4, "Number of repos to sync in parallel")
0 commit comments