Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit 5e3c105

Browse files
committed
ensure event processor uses proxy settings too
1 parent aa98e98 commit 5e3c105

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ repositories {
1111

1212
allprojects {
1313
group = 'com.launchdarkly'
14-
version = "0.10.0"
14+
version = "0.10.0-SNAPSHOT"
1515
sourceCompatibility = 1.6
1616
targetCompatibility = 1.6
1717
}

src/main/java/com/launchdarkly/client/EventProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class Consumer implements Runnable {
6161

6262
Consumer(LDConfig config) {
6363
this.config = config;
64-
client = HttpClients.createDefault();
64+
client = HttpClients.custom().setProxy(config.proxyHost).build();
6565
}
6666

6767
@Override

0 commit comments

Comments
 (0)