[#699] add worker to clean expired oauth tokens
This commit is contained in:
parent
714d8d4ef9
commit
620908a2db
8 changed files with 132 additions and 21 deletions
|
|
@ -481,7 +481,9 @@ config :pleroma, Pleroma.ScheduledActivity,
|
|||
|
||||
config :pleroma, :oauth2,
|
||||
token_expires_in: 600,
|
||||
issue_new_refresh_token: true
|
||||
issue_new_refresh_token: true,
|
||||
clean_expired_tokens: false,
|
||||
clean_expired_tokens_interval: 86_400_000
|
||||
|
||||
config :pleroma, :database, rum_enabled: false
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue