Source

chut / src / chut_user_history_handler.erl

Author Commit Message Labels Comments Date
Fred T-H
Fixing an incorrect empty history queue. Thanks to DeadZen for the report.
Fred T-H
Changed history accumulator from list to queue Switching from the list to the queue avoids useless traversals. On a history list of 10 max, this gives a boost of about 3% in speed in the stress benchmark. It is expected that longer history would be even longer when dropping events without the queue module.
Fred T-H
renaming files to make it easier to fit into an otp app