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