diff --git a/integrationos-api/src/config.rs b/integrationos-api/src/config.rs index fe511ab7..7131ca41 100644 --- a/integrationos-api/src/config.rs +++ b/integrationos-api/src/config.rs @@ -36,7 +36,7 @@ pub struct Config { pub connection_model_schema_cache_ttl_secs: u64, #[envconfig(from = "CONNECTION_MODEL_DEFINITION_CACHE_TTL_SECS", default = "3600")] pub connection_model_definition_cache_ttl_secs: u64, - #[envconfig(from = "SECRET_CACHE_TTL_SECS", default = "3600")] + #[envconfig(from = "SECRET_CACHE_TTL_SECS", default = "300")] pub secret_cache_ttl_secs: u64, #[envconfig( from = "EVENT_ACCESS_PASSWORD", diff --git a/integrationos-event/src/config.rs b/integrationos-event/src/config.rs index 69dc7125..2c51ac13 100644 --- a/integrationos-event/src/config.rs +++ b/integrationos-event/src/config.rs @@ -24,7 +24,7 @@ pub struct EventCoreConfig { pub connection_model_schema_cache_ttl_secs: u64, #[envconfig(from = "CONNECTION_MODEL_DEFINITION_CACHE_TTL_SECS", default = "3600")] pub connection_model_definition_cache_ttl_secs: u64, - #[envconfig(from = "SECRET_CACHE_TTL_SECS", default = "3600")] + #[envconfig(from = "SECRET_CACHE_TTL_SECS", default = "300")] pub secret_cache_ttl_secs: u64, }