Add this toolbar, and nccu calendar fix
This commit is contained in:
1 parent
2f500ff460
commit
8dd1ab32c1
13 files changed
+47
-10
No files matched your search
@@ -0,0 +1,8 @@
|
||||
module ResqueExt
|
||||
#
|
||||
# ResqueExt.unregister_workers_for_host("ec210-250-192-51")
|
||||
#
|
||||
def self.unregister_workers_for_host(host)
|
||||
Resque.workers.select{|worker| worker.id.split(':').first==host}.each(&:unregister_worker)
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user