Fix for local actor ref home address
- home address is set on deserialization - flag for client-managed actor ref so that having a home address doesn't imply client-managed
This commit is contained in:
parent
ad6498f3e1
commit
6a93610bda
5 changed files with 23 additions and 23 deletions
|
|
@ -527,7 +527,7 @@ class NettyRemoteSupport extends RemoteSupport with NettyRemoteServerModule with
|
|||
return new LocalActorRef(factory, None) // Code is much simpler with return
|
||||
}
|
||||
|
||||
val ref = new LocalActorRef(factory, Some(new InetSocketAddress(host, port)))
|
||||
val ref = new LocalActorRef(factory, Some(new InetSocketAddress(host, port)), clientManaged = true)
|
||||
//ref.timeout = timeout //removed because setting default timeout should be done after construction
|
||||
ref
|
||||
}
|
||||
|
|
@ -1241,4 +1241,4 @@ class DefaultDisposableChannelGroup(name: String) extends DefaultChannelGroup(na
|
|||
throw new IllegalStateException("ChannelGroup already closed, cannot add new channel")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue