multi-model-server icon indicating copy to clipboard operation
multi-model-server copied to clipboard

Explicitly terminate process in sigterm_handler

Open nskool opened this issue 1 year ago • 0 comments

Before or while filing an issue please feel free to join our slack channel to get in touch with development team, ask questions, find out what's cooking and more!

Issue #, if available:

Description of changes:

Just removing socket in sigterm_handler does not seem to kill the process. If a socket gets closed, the STREAM session detects the closing of connection and that should automatically kill process, however, this does not seem to work as expected and we can try explicitly terminating the process in the handler, after removing the socket.

Testing done:

To run CI tests on your changes refer README.md

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

nskool avatar Oct 31 '22 10:10 nskool