add lock mechanism for backfillPermission script

This commit is contained in:
Maidul Islam
2023-09-15 16:39:59 -04:00
parent 336b5897f0
commit b88a319582
4 changed files with 193 additions and 176 deletions
+3
View File
@@ -0,0 +1,3 @@
import { Redis } from "ioredis"
export const redisClient = new Redis(process.env.REDIS_URL as string);