config: enable data index caching by default

This commit is contained in:
Ruslan Kuprieiev
2023-02-18 08:00:58 +02:00
parent e56d97bb28
commit 8f549c8a8d
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -264,8 +264,8 @@ SCHEMA = {
# section for experimental features
"feature": {
Optional("machine", default=False): Bool,
Optional("data_index_cache", default=False): Bool,
# enabled by default. It's of no use, kept for backward compatibility.
Optional("data_index_cache", default=False): Bool,
Optional("parametrization", default=True): Bool,
},
"plots": {
-3
View File
@@ -381,9 +381,6 @@ class Repo:
def data_index(self) -> Optional["DataIndex"]:
from dvc_data.index import DataIndex
if not self.config["feature"].get("data_index_cache"):
return None
if not self.index_db_dir:
return None