Build Phase 2 judge vertical slice

This commit is contained in:
xuyue committed 2026-08-06 22:42:39 -06:00
1 parent e6329ecabb
commit ec274419c3
41 files changed
+2945 -669

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import { Queue } from "bullmq"
import { judgeQueueName, type JudgeJobData } from "./judge/job"
import { createBlockingRedis } from "./redis"
export const judgeQueue = new Queue<JudgeJobData>(judgeQueueName, {
connection: createBlockingRedis(),
defaultJobOptions: {
removeOnComplete: 100,
removeOnFail: 500,
},
})