Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Infinity exceptions in hot score calculator #3678

Merged
merged 2 commits into from
Sep 10, 2019
Merged

Commits on Sep 10, 2019

  1. Configuration menu
    Copy the full SHA
    852d3b0 View commit details
    Browse the repository at this point in the history
  2. 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.
    javierm committed Sep 10, 2019
    Configuration menu
    Copy the full SHA
    53abc57 View commit details
    Browse the repository at this point in the history