MCPcopy
hub / github.com/msgbyte/tianji / sendBuildLighthouseMessageQueue

Function sendBuildLighthouseMessageQueue

src/server/mq/producer.ts:17–28  ·  view source on GitHub ↗
(
  workspaceId: string,
  websiteId: string,
  reportId: string,
  url: string
)

Source from the content-addressed store, hash-verified

15});
16
17export async function sendBuildLighthouseMessageQueue(
18 workspaceId: string,
19 websiteId: string,
20 reportId: string,
21 url: string
22) {
23 promMQProduceCounter.inc({ type: 'lighthouse' });
24 await sock.send([
25 'lighthouse',
26 JSON.stringify({ workspaceId, websiteId, reportId, url }),
27 ]);
28}
29
30export async function sendBuildSurveyClassifyMessageQueue(
31 options: z.infer<typeof classifySurveyMQSchema>

Callers 1

website.tsFile · 0.85

Calls 1

sendMethod · 0.65

Tested by

no test coverage detected