Closed karenetheridge closed 11 years ago
I understand your use case, I'll keep skip_ps_command next version.
But I have one question. Why do you use "/sever-status" as healthcheck uri? There should be a URI that uses less resources.
Yes, there should - I should write one :)
http://metacpan.org/module/Plack::Middleware::ServerStatus::Tiny now exists.
I'm now totally cool with you removing skip_ps_command :)
released version 0.16 with skip_ps_command
re Plack-Middleware-ServerStatus-Lite-0.14-TRIAL and removing skip_ps_command -- I use this option. The only time it would be useful to call
ps
is when not every PSGI worker has processed a request yet - otherwise, there will be an entry in the status file for it, andps
is unnecessary. On busy production systems, where I have haproxy hitting '/server-status' every few seconds to ensure that a server is up, removing theps
call saves a lot of resources.Please keep this option (or, remove the use of
ps
entirely - I'd be fine with that too.) :)