fix: healtcheck, to not read full data
This commit is contained in:
parent
0dfe000148
commit
1d4e7100ab
1 changed files with 1 additions and 1 deletions
|
|
@ -249,7 +249,7 @@ const checkHealth = async (repositoryId: string) => {
|
||||||
throw new NotFoundError("Repository not found");
|
throw new NotFoundError("Repository not found");
|
||||||
}
|
}
|
||||||
|
|
||||||
const { hasErrors, error } = await restic.check(repository.config, { readData: true });
|
const { hasErrors, error } = await restic.check(repository.config);
|
||||||
|
|
||||||
await db
|
await db
|
||||||
.update(repositoriesTable)
|
.update(repositoriesTable)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue