We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 54ba497 + b9a6d1c commit 8fe0b59Copy full SHA for 8fe0b59
io/src/main/scala/fs2/io/udp/AsynchronousSocketGroup.scala
@@ -92,7 +92,7 @@ private[udp] object AsynchronousSocketGroup {
92
def apply(duration: FiniteDuration)(onTimeout: => Unit): Timeout =
93
new Timeout(System.currentTimeMillis + duration.toMillis, () => onTimeout)
94
implicit val ordTimeout: Ordering[Timeout] =
95
- Ordering.by[Timeout, Long](_.expiry)
+ Ordering.by[Timeout, Long](_.expiry).reverse
96
}
97
98
private class Attachment(
0 commit comments