Skip to content

Commit

Permalink
log max workers
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems committed Apr 2, 2014
1 parent 9eacbe1 commit f12a0a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puma_auto_tune/defaults/ram/hooks.rb
Expand Up @@ -49,7 +49,7 @@

# Called to remove 1 worker from pool. Sets maximum size
auto.set(:remove_worker) do |memory, master, workers|
auto.log "Cluster too large. Resizing to remove one worker"
auto.log "Cluster too large. Resizing to remove one worker", max_worker_limit: PumaAutoTune.max_workers
master.remove_worker
auto.call(:reap_cycle)
end
Expand Down

0 comments on commit f12a0a9

Please sign in to comment.