run token cleanup job when grafana starts, then each hour

This commit is contained in:
Marcus Efraimsson
2019-02-06 22:27:08 +01:00
parent 836501186f
commit 1a140ee199
6 changed files with 29 additions and 25 deletions
+2 -2
View File
@@ -64,8 +64,8 @@ login_maximum_lifetime_days = 30
# How often should auth tokens be rotated for authenticated users when being active. The default is each 10 minutes.
token_rotation_interval_minutes = 10
# How often should expired auth tokens be deleted from the database. The default is 7 days.
expired_tokens_cleanup_interval_days = 7
# How often should expired auth tokens be deleted from the database. The default is each hour.
expired_tokens_cleanup_interval_hours = 1
```
### Anonymous authentication