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 172ab6d commit e3e1119Copy full SHA for e3e1119
1 file changed
crates/stackable-webhook/src/tls/mod.rs
@@ -37,9 +37,9 @@ use crate::{
37
38
mod cert_resolver;
39
40
-pub const WEBHOOK_CA_LIFETIME: Duration = Duration::from_minutes_unchecked(3);
41
-pub const WEBHOOK_CERTIFICATE_LIFETIME: Duration = Duration::from_minutes_unchecked(2);
42
-pub const WEBHOOK_CERTIFICATE_ROTATION_INTERVAL: Duration = Duration::from_minutes_unchecked(1);
+pub const WEBHOOK_CA_LIFETIME: Duration = Duration::from_hours_unchecked(24);
+pub const WEBHOOK_CERTIFICATE_LIFETIME: Duration = Duration::from_hours_unchecked(24);
+pub const WEBHOOK_CERTIFICATE_ROTATION_INTERVAL: Duration = Duration::from_hours_unchecked(20);
43
44
pub type Result<T, E = TlsServerError> = std::result::Result<T, E>;
45
0 commit comments