pass redis config as-is to postgres cache
also, explicitly state that `path` is a valid config option for redis (tells `ioredis` to connect via UNIX socked instead of TCP socket)
This commit is contained in:
parent
69bdbf22b3
commit
6e1e3bc0ea
2 changed files with 4 additions and 7 deletions
|
|
@ -12,9 +12,10 @@ import * as Sentry from '@sentry/node';
|
|||
import type { RedisOptions } from 'ioredis';
|
||||
|
||||
type RedisOptionsSource = Partial<RedisOptions> & {
|
||||
host: string;
|
||||
port: number;
|
||||
host?: string;
|
||||
port?: number;
|
||||
family?: number;
|
||||
path?: string,
|
||||
pass: string;
|
||||
db?: number;
|
||||
prefix?: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue