You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changes are:
- await the process where we kill the server process when restarting. So
that we don't race the new instance of httpServer with existing ones
(while being killed).
- try to gracefully kill the api server, if it's not killed within 2sec,
SIGTERM it.
- unrelated: moved a comment to the right place. I accidentally moved it
wrong place while refactoring in the last PR.
- Await and properly kill dev api-server (#11691) by @callingmedic911
2
+
3
+
Sometime the api-server doesn't get killed in time before the new instance is started. This change makes sure that we wait for the process. If it's not killed within 2 seconds with SIGTERM, we send a SIGKILL to it.
0 commit comments