remove app argument from Deployer
This commit is contained in:
parent
1cdc8752c2
commit
3c61e593f2
12 changed files with 32 additions and 32 deletions
|
|
@ -27,7 +27,7 @@ import akka.dispatch.{ Terminate, Dispatchers, Future, PinnedDispatcher }
|
|||
*
|
||||
* @author <a href="http://jonasboner.com">Jonas Boné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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue