MCPcopy Create free account
hub / github.com/0PandaDEV/Ziit / addJob

Method addJob

server/utils/import-queue.ts:848–854  ·  view source on GitHub ↗
(job: QueueJob)

Source from the content-addressed store, hash-verified

846 }
847
848 addJob(job: QueueJob): string {
849 this.queue.push(job);
850 handleLog(
851 `[${getLogPrefix(job.type)}] Added job ${job.id} (${job.type}) to queue. Queue length: ${this.queue.length}`,
852 );
853 return job.id;
854 }
855
856 getStatus() {
857 const busyWorkerCount = this.workerJobAssignment.size;

Callers 3

queueWakatimeApiImportFunction · 0.80
queueWakatimeFileImportFunction · 0.80
queueWakApiImportFunction · 0.80

Calls 2

handleLogFunction · 0.90
getLogPrefixFunction · 0.85

Tested by

no test coverage detected