forked from DGNum/colmena
apply: Disable configuration of build process limit
This commit is contained in:
parent
ee52032e4c
commit
9eae937b42
2 changed files with 2 additions and 9 deletions
|
@ -192,13 +192,6 @@ pub async fn run(_global_args: &ArgMatches<'_>, local_args: &ArgMatches<'_>) {
|
|||
local_args.value_of("parallel").unwrap().parse::<usize>().unwrap()
|
||||
}
|
||||
});
|
||||
parallelism_limit.set_build_limit({
|
||||
let limit = local_args.value_of("parallel").unwrap().parse::<usize>().unwrap();
|
||||
if limit == 0 {
|
||||
panic!("The build parallelism limit must not be 0");
|
||||
}
|
||||
limit
|
||||
});
|
||||
deployment.set_parallelism_limit(parallelism_limit);
|
||||
|
||||
let evaluation_node_limit = match local_args.value_of("eval-node-limit").unwrap() {
|
||||
|
|
|
@ -552,7 +552,7 @@ impl Default for ParallelismLimit {
|
|||
}
|
||||
|
||||
impl ParallelismLimit {
|
||||
// Do we actually want this to be configurable?
|
||||
// Do we actually want them to be configurable?
|
||||
/*
|
||||
/// Sets the concurrent evaluation limit.
|
||||
///
|
||||
|
@ -562,12 +562,12 @@ impl ParallelismLimit {
|
|||
pub fn set_evaluation_limit(&mut self, limit: usize) {
|
||||
self.evaluation = Semaphore::new(limit);
|
||||
}
|
||||
*/
|
||||
|
||||
/// Sets the concurrent build limit.
|
||||
pub fn set_build_limit(&mut self, limit: usize) {
|
||||
self.build = Semaphore::new(limit);
|
||||
}
|
||||
*/
|
||||
|
||||
/// Sets the concurrent apply limit.
|
||||
pub fn set_apply_limit(&mut self, limit: usize) {
|
||||
|
|
Loading…
Reference in a new issue