Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
d5800311
Unverified
Commit
d5800311
authored
Dec 03, 2025
by
Tzu-Ling Kan
Committed by
GitHub
Dec 04, 2025
Browse files
feat: Turn on canary health check by default (#4368)
Signed-off-by:
tzulingk@nvidia.com
<
tzulingk@nvidia.com
>
parent
37d0fc88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
lib/runtime/src/config.rs
lib/runtime/src/config.rs
+3
-3
No files found.
lib/runtime/src/config.rs
View file @
d5800311
...
@@ -162,7 +162,7 @@ pub struct RuntimeConfig {
...
@@ -162,7 +162,7 @@ pub struct RuntimeConfig {
/// Enable active health checking with payloads
/// Enable active health checking with payloads
/// Set this at runtime with environment variable DYN_HEALTH_CHECK_ENABLED
/// Set this at runtime with environment variable DYN_HEALTH_CHECK_ENABLED
#[builder(default
=
"
fals
e"
)]
#[builder(default
=
"
tru
e"
)]
#[builder_field_attr(serde(skip_serializing_if
=
"Option::is_none"
))]
#[builder_field_attr(serde(skip_serializing_if
=
"Option::is_none"
))]
pub
health_check_enabled
:
bool
,
pub
health_check_enabled
:
bool
,
...
@@ -358,7 +358,7 @@ impl RuntimeConfig {
...
@@ -358,7 +358,7 @@ impl RuntimeConfig {
compute_threads
:
Some
(
1
),
compute_threads
:
Some
(
1
),
compute_stack_size
:
Some
(
2
*
1024
*
1024
),
compute_stack_size
:
Some
(
2
*
1024
*
1024
),
compute_thread_prefix
:
"compute"
.to_string
(),
compute_thread_prefix
:
"compute"
.to_string
(),
health_check_enabled
:
fals
e
,
health_check_enabled
:
tru
e
,
canary_wait_time_secs
:
DEFAULT_CANARY_WAIT_TIME_SECS
,
canary_wait_time_secs
:
DEFAULT_CANARY_WAIT_TIME_SECS
,
health_check_request_timeout_secs
:
DEFAULT_HEALTH_CHECK_REQUEST_TIMEOUT_SECS
,
health_check_request_timeout_secs
:
DEFAULT_HEALTH_CHECK_REQUEST_TIMEOUT_SECS
,
}
}
...
@@ -394,7 +394,7 @@ impl Default for RuntimeConfig {
...
@@ -394,7 +394,7 @@ impl Default for RuntimeConfig {
compute_threads
:
None
,
compute_threads
:
None
,
compute_stack_size
:
Some
(
2
*
1024
*
1024
),
compute_stack_size
:
Some
(
2
*
1024
*
1024
),
compute_thread_prefix
:
"compute"
.to_string
(),
compute_thread_prefix
:
"compute"
.to_string
(),
health_check_enabled
:
fals
e
,
health_check_enabled
:
tru
e
,
canary_wait_time_secs
:
DEFAULT_CANARY_WAIT_TIME_SECS
,
canary_wait_time_secs
:
DEFAULT_CANARY_WAIT_TIME_SECS
,
health_check_request_timeout_secs
:
DEFAULT_HEALTH_CHECK_REQUEST_TIMEOUT_SECS
,
health_check_request_timeout_secs
:
DEFAULT_HEALTH_CHECK_REQUEST_TIMEOUT_SECS
,
}
}
...
...
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