runMetricsAggregationWorkerSafely
Function: runMetricsAggregationWorkerSafely()
runMetricsAggregationWorkerSafely(
getMetricsSnapshots,windowMinutes,logger):Promise<void>
Defined in: src/workers/backgroundWorkerService.ts:255
Executes the metrics aggregation worker with robust error handling to prevent crashes.
Parameters
getMetricsSnapshots
(windowMinutes?) => PerfSnapshot[]
windowMinutes
number
logger
FastifyBaseLogger
Returns
Promise<void>