fix: Borg-Status fuer grosse Emby-Repositories robust machen
This commit is contained in:
parent
f39b6d7984
commit
3fcbc8268f
1 changed files with 2 additions and 2 deletions
4
app.py
4
app.py
|
|
@ -527,8 +527,8 @@ async def _collect_backup_status(concurrency: int = 10) -> dict:
|
||||||
rc, out, err = await asyncio.to_thread(
|
rc, out, err = await asyncio.to_thread(
|
||||||
_ssh,
|
_ssh,
|
||||||
f'{host["user"]}@{host["ip"]}',
|
f'{host["user"]}@{host["ip"]}',
|
||||||
"sudo -n borgmatic list --last 1 --json 2>/dev/null",
|
"sudo -n borgmatic list --last 1 --json",
|
||||||
12,
|
60,
|
||||||
)
|
)
|
||||||
return host["name"], _backup_item(rc, out, err)
|
return host["name"], _backup_item(rc, out, err)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue