summaryrefslogtreecommitdiff
path: root/doc/update/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/update/README.md')
-rw-r--r--doc/update/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/update/README.md b/doc/update/README.md
index 9762ecffc6d..1bd2770b957 100644
--- a/doc/update/README.md
+++ b/doc/update/README.md
@@ -116,14 +116,14 @@ following command:
**For Omnibus installations**
```shell
-sudo gitlab-rails runner -e production 'puts Sidekiq::Queue.new("background_migration").size'
+sudo gitlab-rails runner -e production 'puts Gitlab::BackgroundMigration.remaining'
```
**For installations from source**
```
cd /home/git/gitlab
-sudo -u git -H bundle exec rails runner -e production 'puts Sidekiq::Queue.new("background_migration").size'
+sudo -u git -H bundle exec rails runner -e production 'puts Gitlab::BackgroundMigration.remaining'
```
## Upgrading to a new major version