Skip to content

Commit

Permalink
fix(cubestore): Single job process don't stop after job done (#7706)
Browse files Browse the repository at this point in the history
  • Loading branch information
waralexrom authored Jan 31, 2024
1 parent 6cac9de commit b84a345
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions rust/cubestore/cubestore/src/cluster/worker_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,10 @@ impl<C: Configurator, P: WorkerProcessing, S: ServicesTransport> WorkerProcess<C
break;
}
}

if P::is_single_job_process() {
break;
}
}
}
}
Expand Down Expand Up @@ -437,9 +441,6 @@ where
return 0;
}
}
if P::is_single_job_process() {
return 0;
}
}
})
}
Expand Down

0 comments on commit b84a345

Please sign in to comment.