summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew Blessing <drew@blessing.io>2017-12-27 20:06:50 +0000
committerDrew Blessing <drew@blessing.io>2017-12-27 20:06:50 +0000
commite5eb6710cb07ddc9dc7ac1731663349ee699d7db (patch)
treeb0dd90abb7d4604a1450c473d49ab3d794c20dc1
parentf1d5e509b52c8c05fd570503389930121e12d87f (diff)
downloadgitlab-ce-docs-push-web-hook-note.tar.gz
Add note about only 20 commits being included in push payloaddocs-push-web-hook-note
-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**:
```