mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
fix: healtcheck, to not read full data
This commit is contained in:
@@ -249,7 +249,7 @@ const checkHealth = async (repositoryId: string) => {
|
||||
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
|
||||
.update(repositoriesTable)
|
||||
|
||||
Reference in New Issue
Block a user