fix persistance bugs

This commit is contained in:
tdurieux
2026-05-06 20:00:59 +03:00
parent 67cb2538b1
commit bd8656206a
11 changed files with 133 additions and 9 deletions
+2 -2
View File
@@ -35,10 +35,10 @@ export function repositoryStatusCheck() {
status: { $eq: "ready" },
isReseted: { $eq: false },
})
).forEach((data) => {
).forEach(async (data) => {
const repo = new Repository(data);
try {
repo.check();
await repo.check();
} catch {
logger.info("repository expired", { repoId: repo.repoId });
}