konveyor / kai

Konveyor AI - static code analysis driven migration to new targets via Generative AI
Apache License 2.0
23 stars 28 forks source link

Stopping `make run-server` does not stop cleanly: "Python quit unexpectedly" #305

Open jwmatthews opened 4 weeks ago

jwmatthews commented 4 weeks ago

On MacOS when I 'ctrl-c' the make run-server process I receive a popup window that: "Python quit unexpectedly".

Screenshot 2024-08-18 at 6 35 03 AM

Full output: https://gist.github.com/jwmatthews/c5d332a7ed955b946eb8ce8288af0306

jwmatthews commented 4 weeks ago

My guess is that this issue is related to how we are using gunicorn. Perhaps we need to implement a hook to watch for SIGINT and then implement a graceful shutdown.