jberger / Mojo-IOLoop-ForkCall

Deprecated! Use Mojo::IOLoop::Subprocess instead
https://mojolicious.org/perldoc/Mojo/IOLoop/Subprocess
5 stars 2 forks source link

Timeout child processes on receiving Mojo::IOLoop finish event #8

Open Grinnz opened 9 years ago

Grinnz commented 9 years ago

As discussed in IRC, to make sure child processes are cleaned up before a worker receives SIGKILL, when receiving the finish event from Mojo::IOLoop, kill child processes after a timeout based on the default graceful_timeout. Allow configuration of timeout and document relation to the graceful_timeout.

toreau commented 6 years ago

Any update on this?

tophopstop commented 5 years ago

I know that ForkCall is now deprecated, but is there away to pull off the timeout using ForkCall's successor? I've searched around and can't turn up details or related examples.