File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
crates/stackable-webhook/src/tls Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ use axum::{
7
7
extract:: { ConnectInfo , Request } ,
8
8
middleware:: AddExtension ,
9
9
} ;
10
- use cert_resolver:: { CertificateResolver , CertificateResolverError } ;
11
10
use hyper:: { body:: Incoming , service:: service_fn} ;
12
11
use hyper_util:: rt:: { TokioExecutor , TokioIo } ;
13
12
use opentelemetry:: trace:: { FutureExt , SpanKind } ;
@@ -32,6 +31,8 @@ use x509_cert::Certificate;
32
31
33
32
mod cert_resolver;
34
33
34
+ pub use cert_resolver:: { CertificateResolver , CertificateResolverError } ;
35
+
35
36
pub const WEBHOOK_CA_LIFETIME : Duration = Duration :: from_minutes_unchecked ( 3 ) ;
36
37
pub const WEBHOOK_CERTIFICATE_LIFETIME : Duration = Duration :: from_minutes_unchecked ( 2 ) ;
37
38
pub const WEBHOOK_CERTIFICATE_ROTATION_INTERVAL : Duration = Duration :: from_minutes_unchecked ( 1 ) ;
You can’t perform that action at this time.
0 commit comments