closes #689: All properties from the configuration file are unit-tested now.

This commit is contained in:
Heiko Seeberger 2011-03-08 06:31:30 +01:00 committed by Viktor Klang
parent b88bc4bd42
commit a8d9e4e8d2
6 changed files with 6 additions and 7 deletions

View file

@ -14,7 +14,7 @@ object RemoteClientSettings {
case cookie => Some(cookie)
}
val RECONNECTION_TIME_WINDOW = Duration(config.getInt("akka.remote.client.reconnection-time-window", 600), TIME_UNIT).toMillis
val READ_TIMEOUT = Duration(config.getInt("akka.remote.client.read-timeout", 1), TIME_UNIT)
val READ_TIMEOUT = Duration(config.getInt("akka.remote.client.read-timeout", 10), TIME_UNIT)
val RECONNECT_DELAY = Duration(config.getInt("akka.remote.client.reconnect-delay", 5), TIME_UNIT)
val REAP_FUTURES_DELAY = Duration(config.getInt("akka.remote.client.reap-futures-delay", 5), TIME_UNIT)
val MESSAGE_FRAME_SIZE = config.getInt("akka.remote.client.message-frame-size", 1048576)