Revert "config: enable data index caching by default"

This reverts commit 1af63acae5.
This commit is contained in:
Ruslan Kuprieiev
2023-02-17 21:25:46 +02:00
parent 1af63acae5
commit b8a9c37af5
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -264,8 +264,8 @@ SCHEMA = {
# section for experimental features
"feature": {
Optional("machine", default=False): Bool,
# enabled by default. It's of no use, kept for backward compatibility.
Optional("data_index_cache", default=False): Bool,
# enabled by default. It's of no use, kept for backward compatibility.
Optional("parametrization", default=True): Bool,
},
"plots": {
+3
View File
@@ -381,6 +381,9 @@ 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