Commit 9550834
authored
fix: use parallel config value from configuration file (#26)
* fix: use parallel config value from configuration file
Previously, the parallel setting in config files was completely ignored.
This fix implements proper config support for the parallel option:
- Add get_parallel() method to Config struct (follows same pattern as get_timeout)
- Add parallel field to ClusterDefaults struct
- Check if user explicitly specified -p/--parallel in CLI args
- Use config value when CLI option not explicitly provided
- Priority: CLI (if explicit) > Cluster config > Global defaults > CLI default (10)
Now users can set parallel in their config files:
defaults:
parallel: 50
clusters:
production:
parallel: 100
Fixes the issue where config parallel values were defined but never used.
* chore: prepare release v0.5.4
* update: help documents (#19)1 parent ea293d7 commit 9550834
3 files changed
Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
| 548 | + | |
548 | 549 | | |
549 | 550 | | |
550 | 551 | | |
| |||
0 commit comments