diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-27 15:11:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-09-27 15:11:21 +0300 |
commit | 5471fef2360f9bcf604a026d5807a554dae243e9 (patch) | |
tree | 8b9c82036dc5da7fdf30ba3c2c5f85997ad41eaa /doc/development/sidekiq/index.md | |
parent | b6f32e82a08a171debbb57236e8995b8d741e6a5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/development/sidekiq/index.md')
-rw-r--r-- | doc/development/sidekiq/index.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/sidekiq/index.md b/doc/development/sidekiq/index.md index 1b3b319ef28..508f19a5be7 100644 --- a/doc/development/sidekiq/index.md +++ b/doc/development/sidekiq/index.md @@ -121,7 +121,7 @@ Sidekiq workers are deferred by two ways, 1. Manual: Feature flags can be used to explicitly defer a particular worker, more details can be found [here](../feature_flags/index.md#deferring-sidekiq-jobs). 1. Automatic: Similar to the [throttling mechanism](../database/batched_background_migrations.md#throttling-batched-migrations) in batched migrations, database health indicators are used to defer a Sidekiq worker. - To use the automatic deferring mechanism, worker has to opt-in by calling `defer_on_database_health_signal` with `gitlab_schema`, delay_by (time to delay) and tables (which is used by autovacuum db indicator) as it's parameters. + To use the automatic deferring mechanism, worker has to opt-in by calling `defer_on_database_health_signal` with `gitlab_schema`, `delay_by` (time to delay) and tables (which is used by autovacuum db indicator) as it's parameters. **Example:** @@ -147,7 +147,7 @@ Sidekiq workers are deferred by two ways, For deferred jobs, logs contain the following to indicate the source: - `job_status`: `deferred` -- `job_deferred_by`: 'feature_flag' or 'database_health_check' +- `job_deferred_by`: `feature_flag` or `database_health_check` ## Sidekiq Queues |