zombocom / puma_worker_killer

Automatically restart Puma cluster workers based on max RAM available
747 stars 77 forks source link

fix @workers not initialized warning #77

Closed pocari closed 4 years ago

pocari commented 4 years ago

A warning occurred when running rake with RUBYOPT=-w.

/Users/pocari/repos/github.com/pocari/puma_worker_killer/lib/puma_worker_killer/puma_memory.rb:62: warning: instance variable @workers not initialized

I fixed it.

schneems commented 4 years ago

Thanks!