Port to latest tractor api

kivy_mainline_and_py3.8
Tyler Goodlet 2018-08-09 21:54:02 -04:00
parent 6dbd919914
commit f3ac5e3c5f
1 changed files with 0 additions and 3 deletions

View File

@ -35,7 +35,6 @@ def pikerd(loglevel, host):
'clients': {}, 'clients': {},
'dtasks': set(), 'dtasks': set(),
}, },
outlive_main=True, # run daemon forever
rpc_module_paths=['piker.brokers.core'], rpc_module_paths=['piker.brokers.core'],
name='brokerd', name='brokerd',
loglevel=loglevel, loglevel=loglevel,
@ -148,13 +147,11 @@ def watch(loglevel, broker, rate, name, dhost):
log.warning("Spawning local brokerd..") log.warning("Spawning local brokerd..")
portal = await nursery.start_actor( portal = await nursery.start_actor(
'brokerd', 'brokerd',
main=None, # no main task
statespace={ statespace={
'broker2tickersubs': {}, 'broker2tickersubs': {},
'clients': {}, 'clients': {},
'dtasks': set(), 'dtasks': set(),
}, },
outlive_main=True, # run daemon forever
rpc_module_paths=['piker.brokers.core'], rpc_module_paths=['piker.brokers.core'],
loglevel=loglevel, loglevel=loglevel,
) )