Cache a build metadata only for debugging // Resolve #4267

This commit is contained in:
Ivan Kravets
2022-05-15 13:52:11 +03:00
parent 575f0ae300
commit 54f0748201
2 changed files with 2 additions and 2 deletions

View File

@ -147,7 +147,7 @@ class DebugConfigBase: # pylint: disable=too-many-instance-attributes
)
def _load_build_data(self):
data = load_build_metadata(os.getcwd(), self.env_name)
data = load_build_metadata(os.getcwd(), self.env_name, cache=True)
if data:
return data
raise DebugInvalidOptionsError("Could not load a build configuration")

View File

@ -119,7 +119,7 @@ def compute_project_checksum(config):
return checksum.hexdigest()
def load_build_metadata(project_dir, env_or_envs, cache=True):
def load_build_metadata(project_dir, env_or_envs, cache=False):
assert env_or_envs
env_names = env_or_envs
if not isinstance(env_names, list):