Restore budget to what it was

This commit is contained in:
Louis Dureuil 2024-06-05 09:22:39 +02:00
parent e100292417
commit 7f7d2d0449
No known key found for this signature in database

View File

@ -540,7 +540,7 @@ impl IndexScheduler {
#[cfg(windows)]
const DEFAULT_BUDGET: usize = 6 * 1024 * 1024 * 1024 * 1024; // 6 TiB, 1 index
#[cfg(not(windows))]
const DEFAULT_BUDGET: usize = 60 * 1024 * 1024 * 1024 * 1024; // 60 TiB, 13 indexes
const DEFAULT_BUDGET: usize = 80 * 1024 * 1024 * 1024 * 1024; // 80 TiB, 18 indexes
let budget = if Self::is_good_heed(tasks_path, DEFAULT_BUDGET) {
DEFAULT_BUDGET