Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Fox committed Feb 18, 2020
1 parent d93bdea commit cdd8244
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ private HttpServerOptions createHttpServerOptions(final ApiServerConfig apiServe

final HttpServerOptions options = new HttpServerOptions()
.setHost(apiServerConfig.getString(ApiServerConfig.LISTEN_HOST))
.setPort(apiServerConfig.getInt(ApiServerConfig.LISTEN_PORT));
.setPort(apiServerConfig.getInt(ApiServerConfig.LISTEN_PORT))
.setReuseAddress(true);

if (apiServerConfig.getBoolean(ApiServerConfig.TLS_ENABLED)) {
options.setUseAlpn(true)
Expand Down

0 comments on commit cdd8244

Please sign in to comment.