Skip to content

Commit

Permalink
fix: adding a sensible default on cache secret (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
sagojez authored Jun 7, 2024
1 parent 94f6d5a commit 04903ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion integrationos-api/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion integrationos-event/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down

0 comments on commit 04903ff

Please sign in to comment.