Switching from -123456789 as magic number to Long.MinValue for noTimeoutGiven
This commit is contained in:
parent
00e8fd79cb
commit
19950b60fc
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ object Actor extends ListenerManagement {
|
|||
|
||||
private[akka] val TIMEOUT = Duration(config.getInt("akka.actor.timeout", 5), TIME_UNIT).toMillis
|
||||
val defaultTimeout = Timeout(TIMEOUT)
|
||||
val noTimeoutGiven = Timeout(-123456789)
|
||||
val noTimeoutGiven = Timeout(Long.MinValue)
|
||||
private[akka] val SERIALIZE_MESSAGES = config.getBool("akka.actor.serialize-messages", false)
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue