This commit is contained in:
Girish Ramakrishnan
2025-07-01 15:21:53 +02:00
parent 8a251fe39e
commit 6d5671dd0e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -305,7 +305,7 @@ async function getSystemStream(options) {
intervalId = setInterval(async () => {
const [memoryResult, cpuResult] = await Promise.allSettled([ readMemoryMetrics(), readCpuMetrics() ]); // never throws
if (memoryResult.status !== 'fulfilled' || cpuMetrics.status !== 'fulfilled') return metricsStream.destroy(memoryResult.reason || cpuMetrics.reason);
if (memoryResult.status !== 'fulfilled' || cpuResult.status !== 'fulfilled') return metricsStream.destroy(memoryResult.reason || cpuResult.reason);
const memoryMetrics = memoryResult.value;
const cpuMetrics = cpuResult.value;
+1 -1
View File
@@ -350,7 +350,7 @@ async function checkForUpdates(options) {
// check app updates
const result = await apps.list();
for (const app of result) {
await safe(checkAppUpdate(app), { debug });
await safe(checkAppUpdate(app, options), { debug });
}
// raise notifications here because the updatechecker runs regardless of auto-updater cron job