aboutsummaryrefslogtreecommitdiff
path: root/docs/config.md
diff options
context:
space:
mode:
authorlambda <lain@soykaf.club>2019-05-22 15:44:50 +0000
committerlambda <lain@soykaf.club>2019-05-22 15:44:50 +0000
commit83ca12f45edf3a2bc863246e5c730b5a44acae3d (patch)
tree730de5f3c0837b7c5fb1572c13c2acc6235d102c /docs/config.md
parent714d8d4ef9c5e059e0ca7f1f55b48e343ced85f8 (diff)
parent620908a2db86942a00bc0ba9c71c037061e26967 (diff)
downloadpleroma-83ca12f45edf3a2bc863246e5c730b5a44acae3d.tar.gz
Merge branch 'issue/699' into 'develop'
[#699] add worker to clean expired oauth tokens See merge request pleroma/pleroma!1184
Diffstat (limited to 'docs/config.md')
-rw-r--r--docs/config.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/config.md b/docs/config.md
index a050068f4..264b65499 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -550,6 +550,8 @@ Configure OAuth 2 provider capabilities:
* `token_expires_in` - The lifetime in seconds of the access token.
* `issue_new_refresh_token` - Keeps old refresh token or generate new refresh token when to obtain an access token.
+* `clean_expired_tokens` - Enable a background job to clean expired oauth tokens. Defaults to `false`.
+* `clean_expired_tokens_interval` - Interval to run the job to clean expired tokens. Defaults to `86_400_000` (24 hours).
## :emoji
* `shortcode_globs`: Location of custom emoji files. `*` can be used as a wildcard. Example `["/emoji/custom/**/*.png"]`