Switching from -123456789 as magic number to Long.MinValue for noTimeoutGiven

This commit is contained in:
Viktor Klang 2011-06-15 17:15:57 +02:00
parent 00e8fd79cb
commit 19950b60fc

View file

@ -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)
/**