Skip to content

Commit

Permalink
Merge pull request #96 from acteru/master
Browse files Browse the repository at this point in the history
advertise new kind of supported cache
  • Loading branch information
Snawoot committed Feb 13, 2023
2 parents f9033f6 + 0348ce9 commit 8faccfc
Showing 1 changed file with 10 additions and 2 deletions.
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

0 comments on commit 8faccfc

Please sign in to comment.