bj0
09/08/2018, 7:20 AMlaunch(coroutineContext +IO) { channel.consumeEach { ... } }
. I feed the channel from another coroutine that runs every 15s, and in the consumeEach
i do a network send (through a cpp library). This works fine for a couple minutes but eventually this coroutine stops executing and the cpu usage of the process goes from .02% to 70%. This is on a desktop. If I remove the IO
and use the CommonPool
it works fine. There are no errors or exceptions, the coroutine just stops and the cpu goes nuts. Is there anything I can do to try and figure out whats happening?enleur
09/08/2018, 7:23 AMIO
, switched back to own elastic poolelizarov
09/08/2018, 7:41 AM