Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/async/container/notify/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def close

def receive
while true
data, address, flags, *controls = @bound.recvmsg(MAXIMUM_MESSAGE_SIZE)
data, _address, _flags, *_controls = @bound.recvmsg(MAXIMUM_MESSAGE_SIZE)

message = Server.load(data)

Expand Down
2 changes: 1 addition & 1 deletion spec/async/container/forked_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

3.times do
trigger.last.puts "die"
child_pid = pids.first.gets
_child_pid = pids.first.gets
end

thread.kill
Expand Down
2 changes: 1 addition & 1 deletion spec/async/container/notify/pipe_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
# Wait for the state to be updated by the child process:
container.sleep

child, state = container.state.first
_child, state = container.state.first
expect(state).to be == {status: "Initializing..."}

container.wait
Expand Down