Skip to content

Commit

Permalink
Fixed issue where I was enqueueing the entire journal entry instead o…
Browse files Browse the repository at this point in the history
…f just the data on replay.
  • Loading branch information
lgastako committed Mar 7, 2009
1 parent f0edd84 commit 3e5ef95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mqueue.erl
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ replay_journal_item(Item, Q) ->
case Item of
{set, Data} ->
erqutils:debug("Replaying a set with data: ~p", [Data]),
queue:cons(Item, Q);
queue:cons(Data, Q);
get ->
erqutils:debug("Replaying a get.", []),
case queue:is_empty(Q) of
Expand Down

0 comments on commit 3e5ef95

Please sign in to comment.