Forward input as raw_event to runner

* Also, rename #send to #send_data in order to prevent debugging issues in RubyMine
This commit is contained in:
Sebastian Serth
2021-10-11 09:44:34 +02:00
parent f896d041f8
commit 3240ea7076
3 changed files with 8 additions and 6 deletions

View File

@ -64,7 +64,7 @@ class Runner::Strategy::DockerContainerPool < Runner::Strategy
socket = Connection.new(websocket_url, self, event_loop)
begin
Timeout.timeout(@execution_environment.permitted_execution_time) do
socket.send(command)
socket.send_data(command)
yield(socket)
event_loop.wait
event_loop.stop