MCPcopy Create free account
hub / github.com/Donnadieu/Epstein-File-Explorer / markJobProcessing

Function markJobProcessing

scripts/pipeline/batch-processor.ts:250–255  ·  view source on GitHub ↗
(jobId: number)

Source from the content-addressed store, hash-verified

248}
249
250async function markJobProcessing(jobId: number): Promise<void> {
251 await db
252 .update(pipelineJobs)
253 .set({ status: "processing", startedAt: new Date() })
254 .where(eq(pipelineJobs.id, jobId));
255}
256
257async function markJobCompleted(jobId: number): Promise<void> {
258 await db

Callers 1

processBatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected