This commit is contained in:
Mateusz Gruszczyński committed 2026-11-15 12:21:12 +01:00
1 parent 5e57e48c6a
commit df0e39b899
25 files changed
+319 -97

No files matched your search

+3
View File
@@ -19,6 +19,8 @@ use std::{
};
use tokio::sync::{Mutex, Semaphore};
type DockerApplied = (std::sync::Weak<Snapshot>, [u8; 32]);
pub struct App {
pub basic_workers: Arc<Semaphore>,
pub basic_limits: crate::basic_auth::Limits,
@@ -61,6 +63,7 @@ pub struct App {
pub body_idle_timeout: Duration,
pub config_file: Mutex<Option<(std::path::PathBuf, external_config::Fingerprint)>>,
update_lock: Mutex<()>,
docker_applied: std::sync::Mutex<Option<DockerApplied>>,
update_slots: Arc<Semaphore>,
}
#[derive(Debug)]