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

+19
View File
@@ -0,0 +1,19 @@
import Redis from "ioredis"
import { config } from "./config"
export const redis = new Redis(config.redisUrl, {
maxRetriesPerRequest: 1,
})
export function createBlockingRedis() {
return new Redis(config.redisUrl, {
maxRetriesPerRequest: null,
})
}
export function createSubscriberRedis() {
return new Redis(config.redisUrl, {
maxRetriesPerRequest: null,
})
}