Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
aff79f10
Unverified
Commit
aff79f10
authored
Mar 13, 2025
by
Wang Ran (汪然)
Committed by
GitHub
Mar 12, 2025
Browse files
simple bugfix (#4342)
parent
01603318
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/utils.py
python/sglang/srt/utils.py
+1
-1
No files found.
python/sglang/srt/utils.py
View file @
aff79f10
...
@@ -1348,7 +1348,7 @@ def kill_itself_when_parent_died():
...
@@ -1348,7 +1348,7 @@ def kill_itself_when_parent_died():
libc
=
ctypes
.
CDLL
(
"libc.so.6"
)
libc
=
ctypes
.
CDLL
(
"libc.so.6"
)
libc
.
prctl
(
PR_SET_PDEATHSIG
,
signal
.
SIGKILL
)
libc
.
prctl
(
PR_SET_PDEATHSIG
,
signal
.
SIGKILL
)
else
:
else
:
logger
.
warnin
i
g
(
"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
():
def
set_uvicorn_logging_configs
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment