diff options
author | Bob Van Landuyt <bob@gitlab.com> | 2019-07-23 15:39:26 +0300 |
---|---|---|
committer | Bob Van Landuyt <bob@gitlab.com> | 2019-07-23 15:39:26 +0300 |
commit | 825e5c2c1b1cd98f3daf99f22fea910f075f48f9 (patch) | |
tree | a149601d370d94c0bbc9bf7e6639b25470f4a804 /doc | |
parent | d97dac9d6b9a16f1d796e506ceb2d69b87b804c3 (diff) | |
parent | 313f145b5594ebba7ce4675905061144adb3b44a (diff) |
Merge branch 'if-64257-active_session_lookup_key_cleanup' into 'master'
Rake task to cleanup expired ActiveSession lookup keys
See merge request gitlab-org/gitlab-ce!30668
Diffstat (limited to 'doc')
-rw-r--r-- | doc/raketasks/cleanup.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/raketasks/cleanup.md b/doc/raketasks/cleanup.md index f880f31c39e..832078d23cb 100644 --- a/doc/raketasks/cleanup.md +++ b/doc/raketasks/cleanup.md @@ -137,3 +137,13 @@ level with `NICENESS`. Below are the valid levels, but consult - `1` or `Realtime` - `2` or `Best-effort` (default) - `3` or `Idle` + +## Remove expired ActiveSession lookup keys + +``` +# omnibus-gitlab +sudo gitlab-rake gitlab:cleanup:sessions:active_sessions_lookup_keys + +# installation from source +bundle exec rake gitlab:cleanup:sessions:active_sessions_lookup_keys RAILS_ENV=production +``` |