Open binarykitchen opened 11 years ago
this issue is really bugging me why the timeout is never called ...
If you run this code without supervisor, does it work as intended?
When running it with supervisor, what happens? Does the process exit? I can't see any reason supervisor would be interfering with setTimeout
. If supervisor is restarting the process, it will spit out some debugging data: crashing child...
etc.
You are right, silly me. It has nothing to do with the supervisor. The timeout is also never called without using the supervisor.
This PR will add this feature :)
Hello Isaacs
Somehow the supervisor is giving me headaches with my own shutdown script. It never calls the timeout below:
for production env the console shows: received signal (SIGQUIT) on Fri Mar 15 2013 17:39:14 GMT+1300 (NZDT), shutting down gracefully in 10000 ms
but that's all. settimeout '(x) forcefully shutting down' is never called. is that because the supervisor is exiting before? it so, how come it's not reloading?
thanks for your help, michael