stops receiving tasks once the task queue is full

This commit is contained in:
Tamo 2023-04-06 18:26:27 +02:00
parent 950f73b8bb
commit be69ab320d
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
4 changed files with 102 additions and 2 deletions

View file

@ -68,7 +68,7 @@ const DEFAULT_LOG_EVERY_N: usize = 100_000;
// The actual size of the virtual address space is computed at startup to determine how many 2TiB indexes can be
// opened simultaneously.
pub const INDEX_SIZE: u64 = 2 * 1024 * 1024 * 1024 * 1024; // 2 TiB
pub const TASK_DB_SIZE: u64 = 10 * 1024 * 1024 * 1024; // 10 GiB
pub const TASK_DB_SIZE: u64 = 11 * 1024 * 1024 * 1024; // 11 GiB
#[derive(Debug, Default, Clone, Copy, Serialize, Deserialize)]
#[serde(rename_all = "UPPERCASE")]