Skip to content

Commit

Permalink
fix redis config
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaina authored and slofp committed Jul 21, 2023
1 parent 7f9d701 commit 76d9a6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/backend/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ function tryCreateUrl(url: string) {
function convertRedisOptions(options: RedisOptionsSource, host: string): RedisOptions & RedisOptionsSource {
return {
...options,
password: options.pass,
prefix: options.prefix ?? host,
family: options.family == null ? 0 : options.family,
keyPrefix: `${options.prefix ?? host}:`,
Expand Down

0 comments on commit 76d9a6b

Please sign in to comment.