Skip to content

Commit

Permalink
fix redis config
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaina committed Jul 20, 2023
1 parent b546d41 commit 509e3f9
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 509e3f9

Please sign in to comment.