Skip to content

Commit 6c1b168

Browse files
authored
fix: revert default secret lifetime to 1 day (#898)
1 parent d59017f commit 6c1b168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/crd/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ impl ZookeeperConfig {
296296
pub const SERVER_JVMFLAGS: &'static str = "SERVER_JVMFLAGS";
297297
pub const ZK_SERVER_HEAP: &'static str = "ZK_SERVER_HEAP";
298298

299-
const DEFAULT_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(7);
299+
const DEFAULT_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(1);
300300

301301
fn default_server_config(cluster_name: &str, role: &ZookeeperRole) -> ZookeeperConfigFragment {
302302
ZookeeperConfigFragment {

0 commit comments

Comments
 (0)