feat(api): Protokollzeile je Anfrage und je Nextcloud-Pruefung im Docker-Log

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-10-02 23:42:10 +02:00
parent fffb7ffbec
commit 0afcf237e8
5 changed files with 96 additions and 4 deletions
@@ -146,6 +146,8 @@ export class NextcloudStatusSchedulerService implements OnApplicationBootstrap {
for (const [tenantId, ids] of byTenant) {
for (const id of ids) work.push({ tenantId, id });
}
if (work.length === 0) return;
const startedAt = Date.now();
await runWithConcurrency(work, CHECK_CONCURRENCY, async ({ tenantId, id }) => {
try {
await this.service.checkInstance(tenantId, id);
@@ -155,5 +157,8 @@ export class NextcloudStatusSchedulerService implements OnApplicationBootstrap {
);
}
});
this.logger.log(
`Nextcloud-Pruefdurchlauf: ${work.length} Cloud(s) in ${Date.now() - startedAt} ms`,
);
}
}