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
b3cff365
"encoding/functions/aggregate.py" did not exist on "79d52ff9cb86c114d5e08757661ac0fd6414d9c0"
Unverified
Commit
b3cff365
authored
Jun 29, 2025
by
finetune
Committed by
GitHub
Jun 29, 2025
Browse files
Fix sgl-router startup crash (#7619)
parent
8f335b5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
sgl-router/src/router.rs
sgl-router/src/router.rs
+9
-1
No files found.
sgl-router/src/router.rs
View file @
b3cff365
...
@@ -180,7 +180,15 @@ impl Router {
...
@@ -180,7 +180,15 @@ impl Router {
}
}
_
=>
{
_
=>
{
// Wait until all workers are healthy for regular modes
// Wait until all workers are healthy for regular modes
Self
::
wait_for_healthy_workers
(
&
worker_urls
,
timeout_secs
,
interval_secs
)
?
;
let
worker_urls
=
worker_urls
.clone
();
std
::
thread
::
spawn
(
move
||
{
Self
::
wait_for_healthy_workers
(
&
worker_urls
,
timeout_secs
,
interval_secs
)
})
.join
()
.map_err
(|
e
|
{
error!
(
"Health-check thread panicked: {:?}"
,
e
);
format!
(
"Health-check thread panicked: {e:?}"
)
})
??
;
}
}
}
}
...
...
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