Merge branch 'develop' into feature/misskey-2024.07
fixing conflicts in `package.json`
This commit is contained in:
commit
34c1e9ea2b
12 changed files with 49 additions and 21 deletions
|
|
@ -240,12 +240,8 @@ export function createPostgresDataSource(config: Config) {
|
|||
cache: !config.db.disableCache && process.env.NODE_ENV !== 'test' ? { // dbをcloseしても何故かredisのコネクションが内部的に残り続けるようで、テストの際に支障が出るため無効にする(キャッシュも含めてテストしたいため本当は有効にしたいが...)
|
||||
type: 'ioredis',
|
||||
options: {
|
||||
host: config.redis.host,
|
||||
port: config.redis.port,
|
||||
family: config.redis.family ?? 0,
|
||||
password: config.redis.pass,
|
||||
...config.redis,
|
||||
keyPrefix: `${config.redis.prefix}:query:`,
|
||||
db: config.redis.db ?? 0,
|
||||
},
|
||||
} : false,
|
||||
logging: log,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue