remove app argument from Deployer

This commit is contained in:
Roland 2011-11-14 18:18:08 +01:00
parent 1cdc8752c2
commit 3c61e593f2
12 changed files with 32 additions and 32 deletions

View file

@ -27,7 +27,7 @@ import akka.dispatch.{ Terminate, Dispatchers, Future, PinnedDispatcher }
*
* @author <a href="http://jonasboner.com">Jonas Bon&#233;r</a>
*/
class Remote(val app: ActorSystem) {
class Remote(val app: ActorSystem, val nodename: String) {
val log = Logging(app, this)
@ -35,8 +35,6 @@ class Remote(val app: ActorSystem) {
import app.config
import app.AkkaConfig._
val nodename = app.nodename
// TODO move to AkkaConfig?
val shouldCompressData = config.getBool("akka.remote.use-compression", false)
val remoteSystemDaemonAckTimeout = Duration(config.getInt("akka.remote.remote-daemon-ack-timeout", 30), DefaultTimeUnit).toMillis.toInt