forked from goodboy/tractor
Onlt await params in trio mode
parent
2a407be532
commit
e5dbf14ec3
|
@ -576,9 +576,11 @@ class Actor:
|
||||||
# initial handshake, report who we are, who they are
|
# initial handshake, report who we are, who they are
|
||||||
await self._do_handshake(chan)
|
await self._do_handshake(chan)
|
||||||
|
|
||||||
self._parent_main_data = await chan.recv()
|
if self._spawn_method == "trio":
|
||||||
self.rpc_module_paths = await chan.recv()
|
# recieve additional init params
|
||||||
self.statespace = await chan.recv()
|
self._parent_main_data = await chan.recv()
|
||||||
|
self.rpc_module_paths = await chan.recv()
|
||||||
|
self.statespace = await chan.recv()
|
||||||
|
|
||||||
except OSError: # failed to connect
|
except OSError: # failed to connect
|
||||||
log.warning(
|
log.warning(
|
||||||
|
|
Loading…
Reference in New Issue