This commit is contained in:
Mateusz Gruszczyński committed 2026-10-03 10:05:46 +02:00
1 parent 5e23e9af02
commit 3883a21bc4
56 files changed
+1640 -403

No files matched your search

+4
View File
@@ -10,6 +10,8 @@ impl Cache {
tier_settings: Mutex::new(Settings::default()),
data_root: None,
cold_tx: None,
cold_delete_fallbacks: Arc::new(Semaphore::new(COLD_DELETE_FALLBACKS)),
cleanup_slots: Arc::new(Semaphore::new(COLD_CLEANUP_SLOTS)),
fills: Arc::new(Semaphore::new(FILL_SLOTS)),
fill_bytes_active: AtomicU64::new(0),
transient_bytes_active: Arc::new(AtomicU64::new(0)),
@@ -47,6 +49,8 @@ impl Cache {
tier_settings: Mutex::new(settings),
data_root,
cold_tx: Some(tx),
cold_delete_fallbacks: Arc::new(Semaphore::new(COLD_DELETE_FALLBACKS)),
cleanup_slots: Arc::new(Semaphore::new(COLD_CLEANUP_SLOTS)),
fills: Arc::new(Semaphore::new(FILL_SLOTS)),
fill_bytes_active: AtomicU64::new(0),
transient_bytes_active: Arc::new(AtomicU64::new(0)),