markusthoemmes commented on a change in pull request #3421: Add ElasticSearch
Log Store
URL:
https://github.com/apache/incubator-openwhisk/pull/3421#discussion_r177029936
##########
File path: common/scala/src/main/scala/whisk/http/PoolingRestClient.scala
##########
@@ -55,16 +63,18 @@ class PoolingRestClient(protocol: String, host: String,
port: Int, queueSize: In
Http().cachedHostConnectionPoolHttps[Promise[HttpResponse]](host = host,
port = port)
}
+ private val defaultHttpFlow = pool.mapMaterializedValue { x =>
+ poolPromise.success(x); x
+ }
Review comment:
Have you checked my comments in #3416 towards possible alternatives here?
(and the relevant tests)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services