fix
This commit is contained in:
@ -132,7 +132,7 @@ class DockerClient
|
|||||||
end
|
end
|
||||||
|
|
||||||
def send_command(command, container, &block)
|
def send_command(command, container, &block)
|
||||||
Timeout.timeout(@execution_environment.permitted_execution_time) do
|
Timeout.timeout(@execution_environment.permitted_execution_time.to_i) do
|
||||||
stderr = []
|
stderr = []
|
||||||
stdout = []
|
stdout = []
|
||||||
container.attach(stdin: StringIO.new(command)) do |stream, chunk|
|
container.attach(stdin: StringIO.new(command)) do |stream, chunk|
|
||||||
|
Reference in New Issue
Block a user