David Stibbe
06/06/2022, 9:19 PMtestApplication
test with 100 async calls by a client . However, it started locking up quite quickly and not even sending the remaining calls to the server.
At first I thought this problem must be in my service. But in the end it even happened if the service did nothing.
I solved it by configuring the CIO engine for the client
val client = createClient {
engine { CIO }
install(WebSockets)
}
(the websockets is there because I needed it..)
I was wondering: is this a known thing ? Or is there a different approach that would be preferred?Aleksei Tirman [JB]
06/07/2022, 9:20 AMDavid Stibbe
06/07/2022, 11:10 AM