Skip to content

Commit

Permalink
global: drop dict prefix from redis settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre Roux authored and sirainen committed Sep 20, 2024
1 parent 16b0d0a commit 5c780a5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
26 changes: 13 additions & 13 deletions data/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -2393,8 +2393,8 @@ Named filter for initializing dictionary used to store last login information.
Example:
\`\`\`[dovecot.conf]
dict_redis_host = 127.0.0.1
dict_redis_port = 6379
redis_host = 127.0.0.1
redis_port = 6379
last_login {
dict redis {
}
Expand Down Expand Up @@ -2906,8 +2906,8 @@ Named filter for initializing dictionary used to update with quota clone
information.
\`\`\`[dovecot.conf]
dict_redis_host = 127.0.0.1
dict_redis_port = 6379
redis_host = 127.0.0.1
redis_port = 6379
quota_clone {
dict redis {
}
Expand Down Expand Up @@ -4721,23 +4721,23 @@ means immediate disconnection after finishing the operation.`
Log a warning about dict lookups that take longer than this interval.`
},

dict_redis_socket_path: {
redis_socket_path: {
tags: [ 'dict', 'dict-redis' ],
values: setting_types.STRING,
text: `
UNIX socket path to the Redis server. This is preferred over
[[setting,dict_redis_host]] if both are set.`
[[setting,redis_host]] if both are set.`
},

dict_redis_host: {
redis_host: {
tags: [ 'dict', 'dict-redis' ],
values: setting_types.STRING,
default: '127.0.0.1',
text: `
Redis server host.`
},

dict_redis_port: {
redis_port: {
tags: [ 'dict', 'dict-redis' ],
values: setting_types.UINT,
default: 6379,
Expand All @@ -4747,37 +4747,37 @@ Value Range: \`<1-65535>\`
Redis server port.`
},

dict_redis_password: {
redis_password: {
tags: [ 'dict', 'dict-redis' ],
values: setting_types.STRING,
text: `
Redis server password.`
},

dict_redis_db_id: {
redis_db_id: {
tags: [ 'dict', 'dict-redis' ],
values: setting_types.UINT,
default: 0,
text: `
Database number.`
},

dict_redis_key_prefix: {
redis_key_prefix: {
tags: [ 'dict', 'dict-redis' ],
values: setting_types.STRING,
text: `
Prefix to add to all keys.`
},

dict_redis_expire: {
redis_expire: {
tags: [ 'dict', 'dict-redis' ],
values: setting_types.TIME,
default: 'infinite',
text: `
Expiration value for all keys.`
},

dict_redis_request_timeout: {
redis_request_timeout: {
tags: [ 'dict', 'dict-redis' ],
values: setting_types.TIME_MSECS,
default: '30s',
Expand Down
4 changes: 2 additions & 2 deletions docs/core/plugins/last_login.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ protocol pop3 {
}
}
dict_redis_host = 127.0.0.1
dict_redis_port = 6379
redis_host = 127.0.0.1
redis_port = 6379
last_login {
dict redis {
}
Expand Down
4 changes: 2 additions & 2 deletions docs/core/plugins/quota_clone.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ mail_plugins {
quota_clone = yes
}
dict_redis_host = 127.0.0.1
dict_redis_port = 6379
redis_host = 127.0.0.1
redis_port = 6379
quota_clone {
dict redis {
}
Expand Down

0 comments on commit 5c780a5

Please sign in to comment.