Kaizen
Browse modulesInsightsinsights/schedulingFunctions

Function: createReportScheduleQueue()

function createReportScheduleQueue(opts: CreateReportScheduleQueueOptions): ReportScheduleQueue;

Defined in: server/insights/scheduling/report-schedule-queue.ts:42

Create the report-schedule queue. Construct it ONCE at startup (it owns a Redis connection) and share the handle with both the request-path ReportScheduleService and, in the worker process, nothing — the worker consumes by name via createReportScheduleWorker.

Parameters

Returns

ReportScheduleQueue

On this page