Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

advertise new kind of supported cache #96

Merged
merged 2 commits into from
Feb 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions man/mta-sts-daemon.yml.5.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]. For additional details check [2].

*proactive_policy_fetching*::

Expand All @@ -66,7 +70,7 @@ The timeout is used for the DNS and HTTP requests.

MTA-STS "testing" mode can be interpreted as "strict" mode. This may be
useful (though noncompliant) in the beginning of MTA-STS deployment, when many
domains operate under "testing" mode.
domains operate under "testing" mode.

== Example

Expand Down Expand Up @@ -99,3 +103,7 @@ 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/latest/getting-started/#redis-sentinel-client
2.::
https://redis.readthedocs.io/en/stable/connections.html#sentinel-client