mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-06-10 09:34:05 +02:00
fix persistance bugs
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user