Skip to content

Commit 4970440

Browse files
wip
1 parent 5c4a328 commit 4970440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/influxdb/v3/client/internal/RestClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ public FullHttpResponse request(@Nonnull HttpMethod method,
259259

260260

261261
if (this.channel == null || !this.channel.isOpen()) {
262-
ChannelFuture channelFuture = getBootstrap().connect().sync();
262+
ChannelFuture channelFuture = getBootstrap().connect();
263263
if (!channelFuture.await(this.timeout.toMillis(), TimeUnit.MILLISECONDS)) {
264264
throw new InfluxDBApiException(new ConnectTimeoutException());
265265
} else {

0 commit comments

Comments
 (0)