(entity, id)
| 48 | const isQueueDebugEnabled = /^(1|true|yes|on)$/i.test(`${process.env.CB_QUEUE_DEBUG || ""}`); |
| 49 | |
| 50 | function buildJobId(entity, id) { |
| 51 | return `${entity}_${id}_${Date.now()}_${Math.floor(Math.random() * 1000000)}`; |
| 52 | } |
| 53 | |
| 54 | async function addDashboardToQueue(queue, dashboard) { |
| 55 | const dashboardId = dashboard.id; |
no outgoing calls
no test coverage detected