lib/dyno_scaler/manager.rb in dyno_scaler-0.1.0 vs lib/dyno_scaler/manager.rb in dyno_scaler-0.2.0
- old
+ new
@@ -35,9 +35,13 @@
action = options[:action] || action_for(options)
send(action, options) if action
end
+ def running_workers
+ heroku.running_workers
+ end
+
protected
def config
DynoScaler.configuration
end