Skip to content

Commit 9550834

Browse files
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

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bssh"
3-
version = "0.5.3"
3+
version = "0.5.4"
44
authors = ["Jeongkyu Shin <inureyes@gmail.com>"]
55
description = "Parallel SSH command execution tool for cluster management"
66
license = "Apache-2.0"

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,7 @@ See the [LICENSE](./LICENSE) file for details.
545545
## Changelog
546546

547547
### Recent Updates
548+
- **v0.5.4 (2025/08/27):** Fix parallel config value handling and align interactive mode authentication with exec mode
548549
- **v0.5.3 (2025/08/27):** Use Backend.AI cluster SSH key for auto-detected environments
549550
- **v0.5.2 (2025/08/27):** Fix config file loading priority, improve BACKENDAI environment handling, use cluster SSH key config
550551
- **v0.5.1 (2025/08/25):** Add configurable command timeout with support for unlimited execution (timeout=0), configurable via CLI and config file

0 commit comments

Comments
 (0)