Jonathan Walsh
02/27/2019, 5:05 PMrunBlocking method which takes a millisecond timeout parameter. It is sometimes called with Long.MAX_VALUE as a way to specify no timeout. When calling withTimeout(Long.MAX_VALUE) I intermittently see timeout exceptions after only a few milliseconds (10-20). I haven't been able to reproduce it consistently in a test yet. Any help would be appreciated!
kotlinx.coroutines.TimeoutCancellationException: Timed out waiting for 9223372036854775807 ms
at kotlinx.coroutines.TimeoutKt.TimeoutCancellationException(Timeout.kt:122)
at kotlinx.coroutines.TimeoutCoroutine.run(Timeout.kt:88)
at kotlinx.coroutines.EventLoopBase$DelayedRunnableTask.run(EventLoop.kt:316)
at kotlinx.coroutines.EventLoopBase.processNextEvent(EventLoop.kt:123)
at kotlinx.coroutines.DefaultExecutor.run(DefaultExecutor.kt:61)
at java.lang.Thread.run(Thread.java:748)