Skip to content

Commit

Permalink
add lock mechanism for backfillPermission script
Browse files Browse the repository at this point in the history
  • Loading branch information
maidul98 committed Sep 15, 2023
1 parent 336b589 commit b88a319
Show file tree
Hide file tree
Showing 4 changed files with 192 additions and 175 deletions.
153 changes: 74 additions & 79 deletions backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"handlebars": "^4.7.7",
"helmet": "^5.1.1",
"infisical-node": "^1.2.1",
"ioredis": "^5.3.2",
"js-yaml": "^4.1.0",
"jsonwebtoken": "^9.0.0",
"jsrp": "^0.2.4",
Expand Down
3 changes: 3 additions & 0 deletions backend/src/services/RedisService.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { Redis } from "ioredis"

export const redisClient = new Redis(process.env.REDIS_URL as string);
Loading

0 comments on commit b88a319

Please sign in to comment.