Fixing stall issue in remote pipeline
This commit is contained in:
parent
12b91edea5
commit
76f058edac
1 changed files with 3 additions and 3 deletions
|
|
@ -860,7 +860,7 @@ class RemoteServerHandler(
|
||||||
val actorInfo = request.getActorInfo
|
val actorInfo = request.getActorInfo
|
||||||
|
|
||||||
val actorRef =
|
val actorRef =
|
||||||
try { createActor(actorInfo, channel).start } catch {
|
try { createActor(actorInfo, channel) } catch {
|
||||||
case e: SecurityException =>
|
case e: SecurityException =>
|
||||||
EventHandler notify EventHandler.Error(e, this)
|
EventHandler notify EventHandler.Error(e, this)
|
||||||
write(channel, createErrorReplyMessage(e, request, AkkaActorType.ScalaActor))
|
write(channel, createErrorReplyMessage(e, request, AkkaActorType.ScalaActor))
|
||||||
|
|
@ -1031,7 +1031,7 @@ class RemoteServerHandler(
|
||||||
val actorRef = factory()
|
val actorRef = factory()
|
||||||
actorRef.uuid = parseUuid(uuid) //FIXME is this sensible?
|
actorRef.uuid = parseUuid(uuid) //FIXME is this sensible?
|
||||||
sessionActors.get(channel).put(id, actorRef)
|
sessionActors.get(channel).put(id, actorRef)
|
||||||
actorRef
|
actorRef.start //Start it where's it's created
|
||||||
}
|
}
|
||||||
case sessionActor => sessionActor
|
case sessionActor => sessionActor
|
||||||
}
|
}
|
||||||
|
|
@ -1055,7 +1055,7 @@ class RemoteServerHandler(
|
||||||
actorRef.id = id
|
actorRef.id = id
|
||||||
actorRef.timeout = timeout
|
actorRef.timeout = timeout
|
||||||
server.actorsByUuid.put(actorRef.uuid.toString, actorRef) // register by uuid
|
server.actorsByUuid.put(actorRef.uuid.toString, actorRef) // register by uuid
|
||||||
actorRef
|
actorRef.start //Start it where it's created
|
||||||
} catch {
|
} catch {
|
||||||
case e: Throwable =>
|
case e: Throwable =>
|
||||||
EventHandler notify EventHandler.Error(e, this)
|
EventHandler notify EventHandler.Error(e, this)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue