Skip to content

Commit a92fc31

Browse files
committed
feat(stackable-operator): Default EoS interval based on debug/release build
1 parent f5b7ecd commit a92fc31

File tree

1 file changed

+5
-1
lines changed
  • crates/stackable-operator/src/eos

1 file changed

+5
-1
lines changed

crates/stackable-operator/src/eos/mod.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ pub struct EndOfSupportOptions {
3636

3737
impl EndOfSupportOptions {
3838
fn default_interval() -> Duration {
39-
Duration::from_days_unchecked(1)
39+
if cfg!(debug_assertions) {
40+
Duration::from_secs(30)
41+
} else {
42+
Duration::from_days_unchecked(1)
43+
}
4044
}
4145

4246
fn default_support_duration() -> Duration {

0 commit comments

Comments
 (0)