Skip to content

Commit

Permalink
Removed unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
fredwu committed Oct 14, 2021
1 parent b408883 commit ddad40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opq/feeder.ex
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ defmodule OPQ.Feeder do
dispatch_events(:normal, queue, demand, [])
end

def handle_cast({:enqueue, event}, {status, %OPQ.Queue{data: data} = queue, pending_demand}) do
def handle_cast({:enqueue, event}, {status, %OPQ.Queue{data: data}, pending_demand}) do
data = :queue.in(event, data)

dispatch_or_pause(status, %OPQ.Queue{data: data}, pending_demand)
Expand Down

0 comments on commit ddad40f

Please sign in to comment.