Skip to content

Commit

Permalink
🔖 Update config bullMQ and new version
Browse files Browse the repository at this point in the history
  • Loading branch information
MaloLebrin committed Mar 29, 2023
1 parent a6a4ee5 commit 14c8d39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fly.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# fly.toml file generated for be-right-backend on 2023-03-26T01:38:29+01:00
# fly.toml file generated for be-right-backend on 2023-03-29T11:50:23+02:00

app = "be-right-backend"
kill_signal = "SIGINT"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "be-right-backend",
"version": "0.0.6",
"version": "0.0.7",
"packageManager": "pnpm@7.30.5",
"description": "Awesome project developed with TypeORM.",
"author": {
Expand Down
1 change: 1 addition & 0 deletions src/jobs/queue/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import type { ConnectionOptions } from 'bullmq'
export const connection: ConnectionOptions = {
host: process.env.REDIS_HOST,
port: parseInt(process.env.REDIS_PORT),
password: process.env.REDIS_PASSWORD,
}

export const concurrency = parseInt(process.env.CONCURRENT_WORKERS)

0 comments on commit 14c8d39

Please sign in to comment.