refactor: use a type to capture non-zero count of concurrent adapters
modified src/config.rs
@@ -19,6 +19,20 @@ const DEFAULT_MAX_RUN_TIME: Duration = Duration::from_secs(3600);
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -38,7 +52,8 @@ pub struct Config {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -61,10 +76,7 @@ impl Config {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|