We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9a769b commit 420ba36Copy full SHA for 420ba36
rust/crd/src/lib.rs
@@ -1141,7 +1141,7 @@ impl AnyServiceConfig {
1141
let timeout = config
1142
.graceful_shutdown_timeout
1143
.map(|d| {
1144
- if d.as_secs() < DEFAULT_REGION_MOVER_DELTA_TO_SHUTDOWN.as_secs() {
+ if d.as_secs() <= DEFAULT_REGION_MOVER_DELTA_TO_SHUTDOWN.as_secs() {
1145
d.as_secs()
1146
} else {
1147
d.as_secs() - DEFAULT_REGION_MOVER_DELTA_TO_SHUTDOWN.as_secs()
0 commit comments