Fix SelectionHandler sequenceNumber overflow #25546
This commit is contained in:
parent
4456d7752b
commit
37ccac1c83
1 changed files with 1 additions and 1 deletions
|
|
@ -258,7 +258,7 @@ private[io] class SelectionHandler(settings: SelectionHandlerSettings) extends A
|
||||||
import SelectionHandler._
|
import SelectionHandler._
|
||||||
import settings._
|
import settings._
|
||||||
|
|
||||||
private[this] var sequenceNumber = 0
|
private[this] var sequenceNumber = 0L // should be Long to prevent overflow
|
||||||
private[this] var childCount = 0
|
private[this] var childCount = 0
|
||||||
private[this] val registry = {
|
private[this] val registry = {
|
||||||
val dispatcher = context.system.dispatchers.lookup(SelectorDispatcher)
|
val dispatcher = context.system.dispatchers.lookup(SelectorDispatcher)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue