MCPcopy
hub / github.com/chartbrew/chartbrew / buildJobId

Function buildJobId

server/crons/updateDashboards.js:50–52  ·  view source on GitHub ↗
(entity, id)

Source from the content-addressed store, hash-verified

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

Callers 1

addDashboardToQueueFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected