From 89befc8b7d7268897c0b12c76fde3d7085b74d4f Mon Sep 17 00:00:00 2001 From: ManyTheFish Date: Mon, 29 Sep 2025 17:45:56 +0200 Subject: [PATCH] small fix --- Cargo.lock | 6 +++--- crates/index-scheduler/src/lib.rs | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 31c8f2bed..513448383 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3727,7 +3727,7 @@ dependencies = [ "serde_json", "serde_yaml", "strum", - "strum_macros 0.27.1", + "strum_macros 0.27.2", "unicode-blocks", "unicode-normalization", "unicode-segmentation", @@ -6251,7 +6251,7 @@ version = "0.27.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af23d6f6c1a224baef9d3f61e287d2761385a5b88fdab4eb4c6f11aeb54c4bcf" dependencies = [ - "strum_macros 0.27.1", + "strum_macros 0.27.2", ] [[package]] @@ -6264,7 +6264,7 @@ dependencies = [ "proc-macro2", "quote", "rustversion", - "syn 2.0.101", + "syn 2.0.106", ] [[package]] diff --git a/crates/index-scheduler/src/lib.rs b/crates/index-scheduler/src/lib.rs index c8e1a0363..989d4a547 100644 --- a/crates/index-scheduler/src/lib.rs +++ b/crates/index-scheduler/src/lib.rs @@ -303,7 +303,8 @@ impl IndexScheduler { let mut wtxn = env.write_txn()?; - let features = features::FeatureData::new(&env, &mut wtxn, options.instance_features)?; + let features = + features::FeatureData::new(&env, &mut wtxn, options.instance_features.clone())?; let queue = Queue::new(&env, &mut wtxn, &options)?; let index_mapper = IndexMapper::new(&env, &mut wtxn, &options, budget)?; let chat_settings = env.create_database(&mut wtxn, Some(db_name::CHAT_SETTINGS))?;