Reduce prewarming pool size of default execution environment
This commit is contained in:
@ -39,7 +39,7 @@ func DebugInit(runnersPool RunnerPool, nomadApi nomad.ExecutorApi) {
|
|||||||
executionEnvironment = &NomadExecutionEnvironment{
|
executionEnvironment = &NomadExecutionEnvironment{
|
||||||
id: 0,
|
id: 0,
|
||||||
jobId: "python",
|
jobId: "python",
|
||||||
availableRunners: make(chan runner.Runner, 50),
|
availableRunners: make(chan runner.Runner, 5),
|
||||||
nomadApiClient: nomadApi,
|
nomadApiClient: nomadApi,
|
||||||
allRunners: runnersPool,
|
allRunners: runnersPool,
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user