zombocom / puma_worker_killer

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

Simplify worker_memory calculation in get_total #81

Closed JuanitoFatas closed 4 years ago

JuanitoFatas commented 4 years ago

Hello 👋

I was playing with this and notice we could simplify the calculation of workers‘ memory a little bit. This also makes it a little bit faster 💨

☺️

schneems commented 4 years ago

Thanks!