Port to latest tractor api
parent
6dbd919914
commit
f3ac5e3c5f
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue