25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Document the recent oauth_cache_rest_failure_life_time option

This commit is contained in:
Badlop 2021-01-27 17:42:36 +01:00
parent 248d8b8aff
commit 5ec8cf9e09
2 changed files with 11 additions and 0 deletions

View File

@ -1030,6 +1030,12 @@ Same as
will be used\&. will be used\&.
.RE .RE
.PP .PP
\fBoauth_cache_rest_failure_life_time\fR: \fItimeout()\fR
.RS 4
The time that a failure in OAuth ReST is cached\&. The default value is
\fIinfinity\fR\&.
.RE
.PP
\fBoauth_cache_size\fR: \fIpos_integer() | infinity\fR \fBoauth_cache_size\fR: \fIpos_integer() | infinity\fR
.RS 4 .RS 4
Same as Same as

View File

@ -867,6 +867,11 @@ doc() ->
desc => desc =>
?T("Same as 'cache_missed', but applied to OAuth cache " ?T("Same as 'cache_missed', but applied to OAuth cache "
"only. If not set, the value from 'cache_missed' will be used.")}}, "only. If not set, the value from 'cache_missed' will be used.")}},
{oauth_cache_rest_failure_life_time,
#{value => "timeout()",
desc =>
?T("The time that a failure in OAuth ReST is cached. "
"The default value is 'infinity'.")}},
{oauth_cache_size, {oauth_cache_size,
#{value => "pos_integer() | infinity", #{value => "pos_integer() | infinity",
desc => desc =>