We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7626ef6 commit 5f3bb4fCopy full SHA for 5f3bb4f
src/Elasticsearch.Net/Connection/HandlerTracking/RequestDataHttpClientFactory.cs
@@ -85,6 +85,7 @@ public HttpClient CreateClient(RequestData requestData)
85
var key = HttpConnection.GetClientKey(requestData);
86
var handler = CreateHandler(key, requestData);
87
var client = new HttpClient(handler, disposeHandler: false);
88
+ client.Timeout = requestData.RequestTimeout;
89
return client;
90
}
91
src/Elasticsearch.Net/Connection/HttpConnection.cs
@@ -2,7 +2,7 @@
2
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
3
// See the LICENSE file in the project root for more information
4
5
-#if DOTNETCORE
+#if DOTNETCORE
6
using System;
7
using System.Collections.Concurrent;
8
using System.Collections.Generic;
0 commit comments