mirror of
https://github.com/MrSedan/neuro-reply-website.git
synced 2026-01-14 20:49:42 +03:00
Working Redis
This commit is contained in:
@@ -9,11 +9,14 @@ export const RedisOptions: CacheModuleAsyncOptions = {
|
||||
socket: {
|
||||
host: config.redis.redis_host,
|
||||
port: config.redis.redis_port,
|
||||
passphrase: config.redis.redis_password,
|
||||
},
|
||||
database: config.redis.redis_database,
|
||||
password: config.redis.redis_password,
|
||||
ttl: 30,
|
||||
});
|
||||
return {
|
||||
store: () => store,
|
||||
isGlobal: true,
|
||||
};
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user