Skip to content

Commit 420ba36

Browse files
Update rust/crd/src/lib.rs
Co-authored-by: Siegfried Weber <[email protected]>
1 parent f9a769b commit 420ba36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/crd/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@ impl AnyServiceConfig {
11411141
let timeout = config
11421142
.graceful_shutdown_timeout
11431143
.map(|d| {
1144-
if d.as_secs() < DEFAULT_REGION_MOVER_DELTA_TO_SHUTDOWN.as_secs() {
1144+
if d.as_secs() <= DEFAULT_REGION_MOVER_DELTA_TO_SHUTDOWN.as_secs() {
11451145
d.as_secs()
11461146
} else {
11471147
d.as_secs() - DEFAULT_REGION_MOVER_DELTA_TO_SHUTDOWN.as_secs()

0 commit comments

Comments
 (0)