Does putting a runBlocking in a ktor route block the web server from receiving more requests?
Copy code
runBlocking {
delay(500)
}
b
bdawg.io
02/15/2019, 2:52 PM
It depends on how many requests are being handled. Your server should have a certain number of threads available to it.
You should definitely avoid anything blocking without deferring it to a special thread pool instead