Skip to content

Instantly share code, notes, and snippets.

@markstgodard
Created January 14, 2016 22:51
Show Gist options
  • Save markstgodard/0fdd241ed0c1f3aba209 to your computer and use it in GitHub Desktop.
Save markstgodard/0fdd241ed0c1f3aba209 to your computer and use it in GitHub Desktop.
select count(*) from delayed_jobs where failed_at is null and attempts > 0 and last_error is not null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment