update logging

This commit is contained in:
miloschwartz
2025-12-06 16:18:44 -05:00
parent 1714140ee7
commit 28725dd164
2 changed files with 5 additions and 5 deletions

View File

@@ -63,10 +63,10 @@ export const startRemoteExitNodeOfflineChecker = (): void => {
inArray(sites.exitNodeId, exitNodeIds)
)
);
// loop through the sites and process their lastBandwidthUpdate as an iso string and if its more than 1 minute old then mark the site offline
for (const site of sitesOnNode) {
if (!site.lastBandwidthUpdate) {
if (!site.lastBandwidthUpdate) {
continue;
}
const lastBandwidthUpdate = new Date(site.lastBandwidthUpdate);
@@ -83,7 +83,7 @@ export const startRemoteExitNodeOfflineChecker = (): void => {
}
}, OFFLINE_CHECK_INTERVAL);
logger.info("Started offline checker interval");
logger.debug("Started offline checker interval");
};
/**
@@ -137,4 +137,4 @@ export const handleRemoteExitNodePingMessage: MessageHandler = async (context) =
broadcast: false,
excludeSender: false
};
};
};

View File

@@ -75,7 +75,7 @@ export const startOlmOfflineChecker = (): void => {
}
}, OFFLINE_CHECK_INTERVAL);
logger.info("Started offline checker interval");
logger.debug("Started offline checker interval");
};
/**