Skip to content

Instantly share code, notes, and snippets.

@calebhaye
Created February 5, 2013 21:26
Show Gist options
  • Save calebhaye/4717810 to your computer and use it in GitHub Desktop.
Save calebhaye/4717810 to your computer and use it in GitHub Desktop.

Revisions

  1. calebhaye created this gist Feb 5, 2013.
    1 change: 1 addition & 0 deletions PruneResqueWorkers.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    Resque.workers.each {|w| w.unregister_worker }