mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-12-14 14:15:43 +01:00
fix redis config
https://github.com/misskey-dev/misskey/pull/11329#issuecomment-1644217395
This commit is contained in:
parent
b546d4108f
commit
509e3f979e
1 changed files with 1 additions and 0 deletions
|
@ -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}:`,
|
||||
|
|
Loading…
Reference in a new issue