Skip to content

Commit

Permalink
fix: revert default secret lifetime to 1 day
Browse files Browse the repository at this point in the history
  • Loading branch information
razvan committed Dec 9, 2024
1 parent d59017f commit eaa6b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/crd/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ impl ZookeeperConfig {
pub const SERVER_JVMFLAGS: &'static str = "SERVER_JVMFLAGS";
pub const ZK_SERVER_HEAP: &'static str = "ZK_SERVER_HEAP";

const DEFAULT_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(7);
const DEFAULT_SECRET_LIFETIME: Duration = Duration::from_days_unchecked(1);

fn default_server_config(cluster_name: &str, role: &ZookeeperRole) -> ZookeeperConfigFragment {
ZookeeperConfigFragment {
Expand Down

0 comments on commit eaa6b5f

Please sign in to comment.