simple bugfix (#4342)

This commit is contained in:
Wang Ran (汪然)
2025-03-13 12:20:18 +08:00
committed by GitHub
parent 016033188c
commit aff79f101f

View File

@@ -1348,7 +1348,7 @@ def kill_itself_when_parent_died():
libc = ctypes.CDLL("libc.so.6")
libc.prctl(PR_SET_PDEATHSIG, signal.SIGKILL)
else:
logger.warninig("kill_itself_when_parent_died is only supported in linux.")
logger.warning("kill_itself_when_parent_died is only supported in linux.")
def set_uvicorn_logging_configs():