Skip to content

Commit

Permalink
Upgrade to Airlift 0.102
Browse files Browse the repository at this point in the history
  • Loading branch information
dain committed Feb 11, 2015
1 parent cf23f9f commit 67873a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

<dep.antlr.version>4.3</dep.antlr.version>
<dep.slice.version>0.9</dep.slice.version>
<dep.airlift.version>0.101</dep.airlift.version>
<dep.airlift.version>0.102-SNAPSHOT</dep.airlift.version>
<dep.packaging.version>${dep.airlift.version}</dep.packaging.version>

<cli.skip-execute>true</cli.skip-execute>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public QueryRunner(ClientSession session, ListeningExecutorService executor, int

HttpClientConfig clientConfig = new HttpClientConfig();
clientConfig.setConnectTimeout(new Duration(10, TimeUnit.SECONDS));
clientConfig.setReadTimeout(new Duration(timeout, TimeUnit.SECONDS));
clientConfig.setIdleTimeout(new Duration(timeout, TimeUnit.SECONDS));
clientConfig.setKeepAliveInterval(new Duration(timeout, TimeUnit.SECONDS));
httpClient = new JettyHttpClient(clientConfig);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ protected AbstractTestingPrestoClient(TestingPrestoServer prestoServer,
this.httpClient = new JettyHttpClient(
new HttpClientConfig()
.setConnectTimeout(new Duration(1, TimeUnit.DAYS))
.setReadTimeout(new Duration(10, TimeUnit.DAYS)));
.setIdleTimeout(new Duration(10, TimeUnit.DAYS)));
}

@Override
Expand Down

0 comments on commit 67873a0

Please sign in to comment.