merit-gem / merit

Reputation engine for Rails apps
Other
1.52k stars 197 forks source link

Use find_each in Merit::Action.check_unprocessed #332

Closed psnider30 closed 5 years ago

psnider30 commented 5 years ago

Use find_each to load records in batches. This will use much less memory and dramatically speed up the query.

psnider30 commented 5 years ago

Tute, I saw the last build failed. How does this look?

tute commented 5 years ago

Excellent, thanks!