There was an error while loading. Please reload this page.
1 parent 4e2b057 commit 37cca47Copy full SHA for 37cca47
1 file changed
src/elysium_serial_queue.erl
@@ -83,7 +83,7 @@ handle_call({checkin, Queue_Data}, _From, #state{queue=Queue, checkin_count=Chec
83
handle_call(checkout, _From, #state{queue=Queue, checkout_count=Checkouts} = St) ->
84
{Value, New_Queue} = queue:out(Queue),
85
New_Count = Checkouts + 1,
86
- {reply, Value, St#state{queue=New_Queue, checkin_count=New_Count}};
+ {reply, Value, St#state{queue=New_Queue, checkout_count=New_Count}};
87
88
handle_call(checkin_count, _From, #state{checkin_count=Count} = St) -> {reply, Count, St};
89
handle_call(checkout_count, _From, #state{checkout_count=Count} = St) -> {reply, Count, St};
0 commit comments