mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix(server): Postgres -> Redis websocket (#10801)
This commit is contained in:
parent
de62bd3ba5
commit
4a481acca6
4 changed files with 86 additions and 47 deletions
|
|
@ -384,7 +384,7 @@ export const immichAppConfig: ConfigModuleOptions = {
|
|||
}),
|
||||
};
|
||||
|
||||
function parseRedisConfig(): RedisOptions {
|
||||
export function parseRedisConfig(): RedisOptions {
|
||||
const redisUrl = process.env.REDIS_URL;
|
||||
if (redisUrl && redisUrl.startsWith('ioredis://')) {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue