Make the feature experimental

This commit is contained in:
ManyTheFish 2023-12-06 14:47:34 +01:00
parent 8cc3c54117
commit 1f4fc9c229
5 changed files with 38 additions and 7 deletions

View file

@ -1343,6 +1343,9 @@ impl IndexScheduler {
for (task, (_, settings)) in tasks.iter_mut().zip(settings) {
let checked_settings = settings.clone().check();
if checked_settings.proximity_precision.set().is_some() {
self.features.features().check_proximity_precision()?;
}
task.details = Some(Details::SettingsUpdate { settings: Box::new(settings) });
apply_settings_to_builder(&checked_settings, &mut builder);