style(格式化): 改成单引号、一行最长 160,全仓重新格式化
Deploy / deploy (push) Canceled after 0s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
xuyueandClaude Opus 5.5 committed 2026-10-26 13:52:24 +08:00
1 parent 530e1a3d5d
commit 195069450f
480 files changed
+15507 -24650

No files matched your search

+5 -5
View File
@@ -1,8 +1,8 @@
import { Queue } from "bullmq"
import { Queue } from 'bullmq'
import { judgeQueueName, type JudgeJobData } from "./judge/job"
import { flowchartQueueName, type FlowchartJobData } from "./flowchart/job"
import { createBlockingRedis } from "./redis"
import { judgeQueueName, type JudgeJobData } from './judge/job'
import { flowchartQueueName, type FlowchartJobData } from './flowchart/job'
import { createBlockingRedis } from './redis'
export const judgeQueue = new Queue<JudgeJobData>(judgeQueueName, {
connection: createBlockingRedis(),
@@ -16,7 +16,7 @@ export const flowchartQueue = new Queue<FlowchartJobData>(flowchartQueueName, {
connection: createBlockingRedis(),
defaultJobOptions: {
attempts: 3,
backoff: { type: "exponential", delay: 2_000 },
backoff: { type: 'exponential', delay: 2_000 },
removeOnComplete: 100,
removeOnFail: 500,
},