From db0a97f8c94c3ed7e8ac9715ae4889a05ec3ad91 Mon Sep 17 00:00:00 2001 From: Karsten Kraus Date: Wed, 22 Nov 2017 12:51:57 +0100 Subject: [PATCH] removed option to set readtimeout --- .../jenkins/plugins/gitlab_branch_source/api/GitLabAPI.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/argelbargel/jenkins/plugins/gitlab_branch_source/api/GitLabAPI.java b/src/main/java/argelbargel/jenkins/plugins/gitlab_branch_source/api/GitLabAPI.java index 46c1bb6..0247c80 100644 --- a/src/main/java/argelbargel/jenkins/plugins/gitlab_branch_source/api/GitLabAPI.java +++ b/src/main/java/argelbargel/jenkins/plugins/gitlab_branch_source/api/GitLabAPI.java @@ -34,9 +34,6 @@ public static GitLabAPI connect(String url, String token, boolean ignoreCertific try { GitlabAPI delegate = GitlabAPI.connect(url, token); delegate.ignoreCertificateErrors(ignoreCertificateErrors); - if (requestTimeout > 0) { - delegate.setRequestTimeout(requestTimeout); - } return new GitLabAPI(delegate); } catch (Exception e) { throw new GitLabAPIException(e);