summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2018-01-09 13:26:12 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2018-01-09 13:26:12 +0000
commitdfcb0ed53d42ac74b49285d24d98b9b069ce7711 (patch)
tree4a53e790082bd978e3395cd94fb9a3898eaf37a0
parent3d8c898a90a06f264493c7b9e25965eb8d56a022 (diff)
parente5eb6710cb07ddc9dc7ac1731663349ee699d7db (diff)
downloadgitlab-ce-dfcb0ed53d42ac74b49285d24d98b9b069ce7711.tar.gz
Merge branch 'docs-push-web-hook-note' into 'master'
Add note about only 20 commits being included in push payload See merge request gitlab-org/gitlab-ce!16149
-rw-r--r--doc/user/project/integrations/webhooks.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/user/project/integrations/webhooks.md b/doc/user/project/integrations/webhooks.md
index eafdd28071d..82175c70e49 100644
--- a/doc/user/project/integrations/webhooks.md
+++ b/doc/user/project/integrations/webhooks.md
@@ -54,6 +54,12 @@ Below are described the supported events.
Triggered when you push to the repository except when pushing tags.
+> **Note:** When more than 20 commits are pushed at once, the `commits` web hook
+ attribute will only contain the first 20 for performance reasons. Loading
+ detailed commit data is expensive. Note that despite only 20 commits being
+ present in the `commits` attribute, the `total_commits_count` attribute will
+ contain the actual total.
+
**Request header**:
```