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
a5978a20
Unverified
Commit
a5978a20
authored
Oct 17, 2025
by
Simo Lin
Committed by
GitHub
Oct 17, 2025
Browse files
[router] fix grpc client time out to 1h (#11768)
parent
e483c1ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sgl-router/src/grpc_client/sglang_scheduler.rs
sgl-router/src/grpc_client/sglang_scheduler.rs
+1
-1
No files found.
sgl-router/src/grpc_client/sglang_scheduler.rs
View file @
a5978a20
...
@@ -132,7 +132,7 @@ impl SglangSchedulerClient {
...
@@ -132,7 +132,7 @@ impl SglangSchedulerClient {
};
};
let
channel
=
Channel
::
from_shared
(
http_endpoint
)
?
let
channel
=
Channel
::
from_shared
(
http_endpoint
)
?
.timeout
(
Duration
::
from_secs
(
600
))
// 1
0 minute
timeout for connection
.timeout
(
Duration
::
from_secs
(
3
600
))
// 1
hr
timeout for connection
.http2_keep_alive_interval
(
Duration
::
from_secs
(
30
))
.http2_keep_alive_interval
(
Duration
::
from_secs
(
30
))
.keep_alive_timeout
(
Duration
::
from_secs
(
10
))
.keep_alive_timeout
(
Duration
::
from_secs
(
10
))
.keep_alive_while_idle
(
true
)
.keep_alive_while_idle
(
true
)
...
...
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