gitlab-org--gitlab-foss/doc/administration/polling.md

35 lines
1.5 KiB
Markdown
Raw Normal View History

---
stage: Enablement
group: Distribution
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
---
# Polling interval multiplier **(FREE SELF)**
2017-04-10 10:52:25 -04:00
The GitLab UI polls for updates for different resources (issue notes, issue titles, pipeline
statuses, and so on) on a schedule appropriate to the resource.
2017-04-10 10:52:25 -04:00
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-04-10 10:52:25 -04:00
1. On the top bar, select **Menu > Admin**.
1. On the left sidebar, select **Settings > Preferences**.
1. Expand **Polling interval multiplier**.
1. Set a value for the polling interval multiplier. This multiplier is applied to all resources at
once.
1. Select **Save changes**.