add missing duration string handling for remember_broken_tls

This commit is contained in:
Wez Furlong
2024-11-08 07:42:19 -07:00
parent d3e399cfda
commit 8946447785
+1 -1
View File
@@ -248,7 +248,7 @@ pub struct EgressPathConfig {
/// a site has broken TLS for the duration specified. Once
/// encountered, we will pretend that EHLO didn't advertise STARTTLS
/// on subsequent connection attempts.
#[serde(default)]
#[serde(default, with = "duration_serde")]
pub remember_broken_tls: Option<Duration>,
}