Skip to content
Snippets Groups Projects
Commit 14a83df1 authored by Philipp Matti's avatar Philipp Matti
Browse files

add redis-sentinel to mta-sts-daemon.yml.5.adoc

parent f9033f68
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ The file is in YAML syntax with the following elements:
*cache*::
* *type*: (_str_: _internal_|_sqlite_|_redis_) cache backend type. Default: internal
* *type*: (_str_: _internal_|_sqlite_|_redis_|_redis_sentinel_) cache backend type. Default: internal
* *options*:
** Options for _internal_ type:
*** *cache_size*: (_int_) number of cache entries to store in memory. Default: 10000
......@@ -42,6 +42,10 @@ The file is in YAML syntax with the following elements:
*** *timeout*: (_float_) timeout in seconds for acquiring connection from pool or DB lock. Default: 5
** Options for _redis_ type:
*** All parameters are passed to `aioredis.from_url` [0]. Check there for a parameter reference.
** Options for _redis_sentinel_ type:
*** *sentinel_master_name*: (_str_) name of the sentinel master
*** *sentinels*: (_list_)(_tuple_) list of sentinels in form of ip/fqdn and port
*** All other parameters are passed to `aioredis.sentinel.Sentinel` [1]. Check there for a parameter reference.
*proactive_policy_fetching*::
......@@ -99,3 +103,5 @@ domains operate under "testing" mode.
0.::
https://aioredis.readthedocs.io/en/latest/api/high-level/#aioredis.client.Redis.from_url
1.::
https://aioredis.readthedocs.io/en/v1.3.0/sentinel.html#aioredis.sentinel.RedisSentinel
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment