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
|
||||
await self._do_handshake(chan)
|
||||
|
||||
self._parent_main_data = await chan.recv()
|
||||
self.rpc_module_paths = await chan.recv()
|
||||
self.statespace = await chan.recv()
|
||||
if self._spawn_method == "trio":
|
||||
# recieve additional init params
|
||||
self._parent_main_data = await chan.recv()
|
||||
self.rpc_module_paths = await chan.recv()
|
||||
self.statespace = await chan.recv()
|
||||
|
||||
except OSError: # failed to connect
|
||||
log.warning(
|
||||
|
|
Loading…
Reference in New Issue