Drop 22s timeout on reset hack

drop_arrow_add_predulum
Tyler Goodlet 2022-04-15 13:44:07 -04:00
parent fbabfb78e0
commit d334e61b1f
1 changed files with 7 additions and 7 deletions

View File

@ -1519,12 +1519,12 @@ async def get_bars(
('history', hist_ev),
# ('live', live_ev),
]:
with trio.move_on_after(22) as cs:
# with trio.move_on_after(22) as cs:
await ev.wait()
log.info(f"{name} DATA RESET")
if cs.cancelled_caught:
log.warning("reset hack failed on first try?")
# if cs.cancelled_caught:
# log.warning("reset hack failed on first try?")
# await tractor.breakpoint()
fails += 1
@ -1583,7 +1583,7 @@ async def backfill_bars(
# on that until we have the `marketstore` daemon in place in which
# case the shm size will be driven by user config and available sys
# memory.
count: int = 16,
count: int = 100,
task_status: TaskStatus[trio.CancelScope] = trio.TASK_STATUS_IGNORED,