debian-mirror-gitlab/doc/administration/polling.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

35 lines
1.5 KiB
Markdown
Raw Normal View History

2021-01-29 00:20:46 +05:30
---
2022-07-23 23:45:48 +05:30
stage: Systems
2021-02-22 17:27:13 +05:30
group: Distribution
2022-11-25 23:54:43 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
2021-01-29 00:20:46 +05:30
---
2021-10-27 15:23:28 +05:30
# Polling interval multiplier **(FREE SELF)**
2017-08-17 22:00:37 +05:30
2023-01-13 00:05:48 +05:30
The GitLab UI polls for updates for different resources (such as issue notes, issue titles, and pipeline
statuses) on a schedule appropriate to the resource.
2017-08-17 22:00:37 +05:30
2021-10-27 15:23:28 +05:30
Adjust the multiplier on these schedules to adjust how frequently the GitLab UI polls for updates. If
you set the multiplier to:
- A value greater than `1`, UI polling slows down. If you see issues with database load from lots of
clients polling for updates, increasing the multiplier can be a good alternative to disabling
polling completely. For example, if you set the value to `2`, all polling intervals
are multiplied by 2, which means that polling happens half as frequently.
- A value between `0` and `1`, the UI polls more frequently so updates occur more frequently.
**Not recommended**.
- `0`, all polling is disabled. On the next poll, clients stop polling for updates.
The default value (`1`) is recommended for the majority of GitLab installations.
## Configure
To adjust the polling interval multiplier:
2017-08-17 22:00:37 +05:30
2022-10-11 01:57:18 +05:30
1. On the top bar, select **Main menu > Admin**.
2021-09-04 01:27:46 +05:30
1. On the left sidebar, select **Settings > Preferences**.
2021-10-27 15:23:28 +05:30
1. Expand **Polling interval multiplier**.
1. Set a value for the polling interval multiplier. This multiplier is applied to all resources at
once.
2021-09-04 01:27:46 +05:30
1. Select **Save changes**.