Don't shield ems feed; enact remote cancels
parent
2046fe293a
commit
17d3e7a9e2
|
@ -268,6 +268,7 @@ async def exec_loop(
|
|||
*trio.open_memory_channel(100),
|
||||
_buys={},
|
||||
_sells={},
|
||||
|
||||
_reqids={},
|
||||
)
|
||||
|
||||
|
@ -284,9 +285,7 @@ async def exec_loop(
|
|||
# return control to parent task
|
||||
task_status.started((first_quote, feed, client))
|
||||
|
||||
# shield this field so the remote brokerd does not get cancelled
|
||||
stream = feed.stream
|
||||
with stream.shield():
|
||||
async with trio.open_nursery() as n:
|
||||
n.start_soon(
|
||||
execute_triggers,
|
||||
|
|
Loading…
Reference in New Issue