From dee76ad7000d97c41198fcfeab997a0fc6064639 Mon Sep 17 00:00:00 2001 From: David Johansen Date: Tue, 4 Feb 2014 22:54:45 -0800 Subject: [PATCH] Addressing issue/221 - changing depth=1 - only thing that depth=2 adds is the "fingerprint":[] item, which turns a 600KB request to a 180M request on a large repo. --- jenkinsapi/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkinsapi/build.py b/jenkinsapi/build.py index acf023c..7405c28 100644 --- a/jenkinsapi/build.py +++ b/jenkinsapi/build.py @@ -42,7 +42,7 @@ class Build(JenkinsBase): def _poll(self): #For build's we need more information for downstream and upstream builds #so we override the poll to get at the extra data for build objects - url = self.python_api_url(self.baseurl) + '?depth=2' + url = self.python_api_url(self.baseurl) + '?depth=1' return self.get_data(url) def __str__(self): -- 2.34.1