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; }