Commit a10ac027 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'hchouraria-docs-improve-background-migrations-pending-command' into 'master'

Change pending jobs command to print count

See merge request gitlab-org/gitlab!79601
parents 912285aa 5f406156
...@@ -98,7 +98,7 @@ that can process jobs in the `background_migration` queue. ...@@ -98,7 +98,7 @@ that can process jobs in the `background_migration` queue.
```shell ```shell
sudo gitlab-rails runner -e production 'puts Gitlab::BackgroundMigration.remaining' sudo gitlab-rails runner -e production 'puts Gitlab::BackgroundMigration.remaining'
sudo gitlab-rails runner -e production 'puts Gitlab::Database::BackgroundMigrationJob.pending' sudo gitlab-rails runner -e production 'puts Gitlab::Database::BackgroundMigrationJob.pending.count'
``` ```
**For installations from source:** **For installations from source:**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment