From bc2924666a8f75f0bc767a32d3ed389ec0f30d66 Mon Sep 17 00:00:00 2001 From: Jan-Eric Hellenberg Date: Tue, 11 May 2021 14:20:08 +0200 Subject: [PATCH] Reduce prewarming pool size of default execution environment --- environment/execution_environment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment/execution_environment.go b/environment/execution_environment.go index 9992879..937047a 100644 --- a/environment/execution_environment.go +++ b/environment/execution_environment.go @@ -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, }