Navigation Menu

Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Fix massively retarded token indexing bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
archaelus committed May 20, 2013
1 parent 1d922ae commit 53e29e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logplex_token.erl
Expand Up @@ -197,7 +197,7 @@ reindex_tokens_itr({Recs, Cont}) ->
ets:insert(?CHAN_TOKEN_TAB,
[#token_idx{channel_id = Chan, id = Id}
|| {Chan, Id} <- Recs]),
reindex_tokens_itr(Cont).
reindex_tokens_itr(ets:select(Cont)).

num_records() ->
ets:info(?TOKEN_TAB, size).

0 comments on commit 53e29e6

Please sign in to comment.