From f7c41db70c6a936b640f9a1dfdbb021088dc4247 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Thu, 8 Oct 2020 14:41:54 +0200 Subject: [PATCH] Fix invalid reference to ContainerPool This was a copy & paste mistake --- lib/docker_client.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/docker_client.rb b/lib/docker_client.rb index c1912f81..fdf25631 100644 --- a/lib/docker_client.rb +++ b/lib/docker_client.rb @@ -312,7 +312,6 @@ class DockerClient @thread = Thread.new do timeout = (@execution_environment.permitted_execution_time.to_i) # seconds sleep(timeout) - container = ContainerPool.instance.translate(container.id) if container && container.status != :available Rails.logger.info('Killing container after timeout of ' + timeout.to_s + ' seconds.') # send timeout to the tubesock socket