David Glasser
08/17/2020, 9:38 PMwithContext block and the request succeeds but the withContext never hangs. like, i have:
log.info("going to execute request $callsite")
withContext(MyContextThingy()) {
log.info("in first context")
}
log.info("back from context")
val res: HttpResponse = withContext(MyContextThingy()) {
log.info("top of context")
val response: HttpResponse = httpClient.request {
url.takeFrom(this@DruidClient.url)
method = HttpMethod.Post
contentType(ContentType.Application.Json)
body = req
}
log.info("after request")
response
}
log.info("after WC")
res
and it gets in and out of the first withContext fine, and logs after request, but never after WC. anyone seen anything odd like this?David Glasser
08/17/2020, 9:49 PMDavid Glasser
08/17/2020, 9:50 PMDavid Glasser
08/17/2020, 9:51 PMDavid Glasser
08/17/2020, 9:54 PM