diff --git a/doc/ci/environments/index.md b/doc/ci/environments/index.md index 38ee0ced6ace8b37374d7e59c03a5f496de13a0d..fa070ec68f6b2325135c86c68f139db86ed53013 100644 --- a/doc/ci/environments/index.md +++ b/doc/ci/environments/index.md @@ -739,6 +739,12 @@ To enable this feature, you need to specify the [`environment:auto_stop_in`](../ You can specify a human-friendly date as the value, such as `1 hour and 30 minutes` or `1 day`. `auto_stop_in` uses the same format of [`artifacts:expire_in` docs](../yaml/README.md#artifactsexpire_in). +NOTE: **Note:** +Due to the resource limitation, a background worker for stopping environments only +runs once every hour. This means environments will not be stopped at the exact +timestamp as the specified period, but will be stopped when the hourly cron worker +detects expired environments. + ##### Auto-stop example In the following example, there is a basic review app setup that creates a new environment @@ -778,12 +784,6 @@ and the environment will be active until it's stopped manually.  -NOTE: **NOTE** -Due to the resource limitation, a background worker for stopping environments only -runs once every hour. This means environments will not be stopped at the exact -timestamp as the specified period, but will be stopped when the hourly cron worker -detects expired environments. - #### Delete a stopped environment > [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/20620) in GitLab 12.10.