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

Add index on delayed_jobs (locked_at, locked_by) #71

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Aug 14, 2013

  1. Add index on delayed_jobs (locked_at, locked_by)

    This index avoids an increasingly growing performance penalty when delayed_jobs table tends to
    grow bigger.
    spajus committed Aug 14, 2013
    Configuration menu
    Copy the full SHA
    1f41fe0 View commit details
    Browse the repository at this point in the history
  2. Add index on delayed_jobs (run_at, failed_at, priority)

    When lots of failed jobs occur, this index gives huge performance benefit on high loads with big
    delayed_jobs table.
    spajus committed Aug 14, 2013
    Configuration menu
    Copy the full SHA
    41bbfc2 View commit details
    Browse the repository at this point in the history