Skip to content

Instantly share code, notes, and snippets.

@sirwolfgang
Created February 19, 2015 18:51
Show Gist options
  • Save sirwolfgang/8629fbbff1c96dbea75b to your computer and use it in GitHub Desktop.
Save sirwolfgang/8629fbbff1c96dbea75b to your computer and use it in GitHub Desktop.
SELECT pg_terminate_backend(pid) FROM pg_stat_activity WHERE application_name LIKE 'sidekiq%';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment