modern-wolf-36228
10/12/2021, 11:18 AMmodern-wolf-36228
10/12/2021, 11:20 AMuvicorn
shutdown behavior is the following:
• If you send SIGTERM
or SIGINT
, it will set a variable should_exit
to True, and it will start the graceful shutdown.
• If you send another SIGTERM
or SIGINT
, it will set a variable force_exit
to True, and it will force the exit.modern-wolf-36228
10/12/2021, 11:23 AMuvicorn
is receiving two signals, due to that it cannot shutdown gracefully 🤔curved-television-6568
10/12/2021, 11:34 AMmodern-wolf-36228
10/12/2021, 11:35 AMmodern-wolf-36228
10/12/2021, 11:36 AMcurved-television-6568
10/12/2021, 11:52 AMcurved-television-6568
10/12/2021, 11:53 AMwitty-crayon-22786
10/12/2021, 3:50 PMSIGKILL
witty-crayon-22786
10/12/2021, 3:50 PMmodern-wolf-36228
10/12/2021, 4:08 PMmodern-wolf-36228
10/12/2021, 4:09 PMSIGKILL
?modern-wolf-36228
10/12/2021, 4:10 PMwitty-crayon-22786
10/12/2021, 4:10 PMwitty-crayon-22786
10/12/2021, 4:15 PMwitty-crayon-22786
10/12/2021, 4:16 PMmodern-wolf-36228
10/12/2021, 4:18 PMwitty-crayon-22786
10/12/2021, 4:18 PMmodern-wolf-36228
10/12/2021, 4:18 PMmodern-wolf-36228
10/12/2021, 4:19 PMwitty-crayon-22786
10/12/2021, 4:19 PMwitty-crayon-22786
10/12/2021, 4:20 PMuvicorn
being killed like this? does it fail to restart, or just fail to clean up files/processes it created?modern-wolf-36228
10/12/2021, 4:22 PMmodern-wolf-36228
10/12/2021, 4:22 PMmodern-wolf-36228
10/12/2021, 4:23 PMwitty-crayon-22786
10/12/2021, 4:24 PMwitty-crayon-22786
10/12/2021, 5:04 PMmodern-wolf-36228
10/12/2021, 5:06 PM