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 18a2916 commit 7319aa9Copy full SHA for 7319aa9
src/main/java/com/splunk/logging/HttpEventCollectorSender.java
@@ -275,12 +275,12 @@ private void startHttpClient() {
275
276
OkHttpClient.Builder builder = httpSharedClient.newBuilder();
277
278
+ Dispatcher dispatcher = new Dispatcher();
279
// limit max number of async requests in sequential mode
280
if (sendMode == SendMode.Sequential) {
- Dispatcher dispatcher = new Dispatcher();
281
dispatcher.setMaxRequests(1);
282
- builder.dispatcher(dispatcher);
283
}
+ builder.dispatcher(dispatcher);
284
285
if (disableCertificateValidation) {
286
final TrustManager[] trustAllCerts = new TrustManager[]{
0 commit comments