-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Long running models (e.g. those consuming a websocket or similar) can only be terminated via CTRL+C/SIGINT. Currently this isn't handled gracefully.
Possible solution: introduce a signal handler for SIGINT somewhere, e.g. on the Process. See https://websockets.readthedocs.io/en/stable/faq/server.html#how-do-i-stop-a-server. Then emit a StopEvent to cause the components to shutdown the model.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request