Reduce prewarming pool size of default execution environment

This commit is contained in:
Jan-Eric Hellenberg
2021-05-11 14:20:08 +02:00
parent 035d1eb795
commit bc2924666a

View File

@ -39,7 +39,7 @@ func DebugInit(runnersPool RunnerPool, nomadApi nomad.ExecutorApi) {
executionEnvironment = &NomadExecutionEnvironment{
id: 0,
jobId: "python",
availableRunners: make(chan runner.Runner, 50),
availableRunners: make(chan runner.Runner, 5),
nomadApiClient: nomadApi,
allRunners: runnersPool,
}