lib/autoscale/heroku.rb in heroku-qc-autoscale-0.0.3 vs lib/autoscale/heroku.rb in heroku-qc-autoscale-0.0.4
- old
+ new
@@ -6,10 +6,10 @@
def workers
client.get_app(app).body.fetch("workers", 0).to_i
end
def workers=(qty)
- client.put_workers(app, qty)
+ client.post_ps_scale(app, "worker", qty)
end
def job_count
QC::Queries.count.to_i
end
\ No newline at end of file