fix: Borg-Status fuer grosse Emby-Repositories robust machen

This commit is contained in:
sascha 2026-08-05 14:00:12 +02:00
parent f39b6d7984
commit 3fcbc8268f

4
app.py
View file

@ -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)