From e5eb6710cb07ddc9dc7ac1731663349ee699d7db Mon Sep 17 00:00:00 2001 From: Drew Blessing Date: Wed, 27 Dec 2017 20:06:50 +0000 Subject: Add note about only 20 commits being included in push payload --- doc/user/project/integrations/webhooks.md | 6 ++++++ 1 file changed, 6 insertions(+) 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**: ``` -- cgit v1.2.3