Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@gitlab.com>2019-07-23 15:39:26 +0300
committerBob Van Landuyt <bob@gitlab.com>2019-07-23 15:39:26 +0300
commit825e5c2c1b1cd98f3daf99f22fea910f075f48f9 (patch)
treea149601d370d94c0bbc9bf7e6639b25470f4a804 /doc
parentd97dac9d6b9a16f1d796e506ceb2d69b87b804c3 (diff)
parent313f145b5594ebba7ce4675905061144adb3b44a (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.md10
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
+```