Skip to content

Commit

Permalink
fix: add config redis
Browse files Browse the repository at this point in the history
  • Loading branch information
William Koller committed Apr 27, 2022
1 parent 507f885 commit 7c0b675
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/heroku.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
matrix:
node-version: [16.x]
mongodb-version: [4.2]
redis-version: [4, 5, 6]
redis-version: [4]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/modules/cache/cache.settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const imports = [
store: redisStore,
socket: {
host: process.env.REDIS_HOST,
port: process.env.REDIS_PORT,
port: process.env.REDIS_PORT || 12290,
},
}),
];
Expand Down

0 comments on commit 7c0b675

Please sign in to comment.