Add fail on metadata cache miss (#7118)

- avoid failing when missing cache (used for command)
- remove unused load cache function. Cache will be always re-created
when trying to fetch if not existing
This commit is contained in:
Thomas Trompette
2024-09-18 15:40:24 +02:00
committed by GitHub
parent 44587b4908
commit 741a969cc1
5 changed files with 92 additions and 74 deletions

View File

@ -45,8 +45,8 @@ export class WorkspaceMetadataVersionService {
{ metadataVersion: newMetadataVersion },
);
await this.workspaceMetadataCacheService.recomputeMetadataCache(
await this.workspaceMetadataCacheService.recomputeMetadataCache({
workspaceId,
);
});
}
}