128 std::chrono::milliseconds{500},
129 std::chrono::milliseconds{250}
133 Postgres(
const ComponentConfig&,
const ComponentContext&);
152 static yaml_config::Schema GetStaticConfigSchema();
155 void OnConfigUpdate(
const dynamic_config::Snapshot& cfg);
157 void OnSecdistUpdate(
const storages::
secdist::SecdistConfig& secdist);
160 std::string db_name_;
161 std::string dbalias_;
163 storages::
postgres::DatabasePtr database_;
167 concurrent::AsyncEventSubscriberScope config_subscription_;
168 concurrent::AsyncEventSubscriberScope secdist_subscription_;
169 dynamic_config::Source config_source_;