Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Infinity exceptions in hot score calculator
There was a rare case we've found on some Travis builds where the system time suddenly moved back to the past a couple of tenths of a second, meaning `Time.current - resource.created_at` returned a negative number, which lead to a division by zero.
- Loading branch information