patches on sxsw ai working api key working container hardened plus many more
This commit is contained in:
@@ -76,7 +76,7 @@ impl Server {
|
||||
let identity = Arc::new(identity);
|
||||
|
||||
// Create metrics store and spawn background collector
|
||||
let metrics_store = Arc::new(MetricsStore::new());
|
||||
let metrics_store = Arc::new(MetricsStore::with_data_dir(config.data_dir.clone()));
|
||||
crate::monitoring::spawn_metrics_collector(metrics_store.clone(), Some(state_manager.clone()));
|
||||
|
||||
let api_handler = Arc::new(
|
||||
@@ -139,7 +139,8 @@ impl Server {
|
||||
}
|
||||
|
||||
// Container health monitoring — auto-restart unhealthy containers
|
||||
crate::health_monitor::spawn_health_monitor(state_manager.clone());
|
||||
// Respects webhook config: skips when disabled or ContainerCrash not subscribed
|
||||
crate::health_monitor::spawn_health_monitor(state_manager.clone(), config.data_dir.clone());
|
||||
|
||||
Ok(Self {
|
||||
_config: config,
|
||||
|
||||
Reference in New Issue
Block a user