From 443db5d21e80f44026b790bbca84e09b3b7f13cc Mon Sep 17 00:00:00 2001 From: Net Wolf UK Date: Fri, 26 May 2017 01:27:35 +1200 Subject: [PATCH] Don't forget to actually set the timeouts. --- .../src/main/java/webhook/teamcity/WebHookFactoryImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tcwebhooks-core/src/main/java/webhook/teamcity/WebHookFactoryImpl.java b/tcwebhooks-core/src/main/java/webhook/teamcity/WebHookFactoryImpl.java index 416f854d..dc9f5326 100644 --- a/tcwebhooks-core/src/main/java/webhook/teamcity/WebHookFactoryImpl.java +++ b/tcwebhooks-core/src/main/java/webhook/teamcity/WebHookFactoryImpl.java @@ -44,6 +44,9 @@ public WebHook getWebHook(WebHookConfig webHookConfig, WebHookProxyConfig proxyC } webHook.setProxy(myMainSettings.getProxyConfigForUrl(webHookConfig.getUrl())); + webHook.setConnectionTimeOut(myMainSettings.getHttpConnectionTimeout()); + webHook.setResponseTimeOut(myMainSettings.getHttpResponseTimeout()); + return webHook; }