From fd296fa762907c2caaa3ba5f8272638cb49fe5ef Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 15 Apr 2022 18:57:00 -0400 Subject: [PATCH] Indefinitely wait on feed hack for windows? --- piker/brokers/ib.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/piker/brokers/ib.py b/piker/brokers/ib.py index 65d6f4c0..f66f81c5 100644 --- a/piker/brokers/ib.py +++ b/piker/brokers/ib.py @@ -37,7 +37,6 @@ import asyncio from pprint import pformat import inspect import logging -import platform from random import randint import time @@ -1583,7 +1582,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 = 100, + count: int = 16, task_status: TaskStatus[trio.CancelScope] = trio.TASK_STATUS_IGNORED, @@ -1603,11 +1602,6 @@ async def backfill_bars( # async with open_history_client(fqsn) as proxy: async with open_client_proxy() as proxy: - if platform.system() == 'Windows': - log.warning( - 'Decreasing history query count to 4 since, windows...') - count = 4 - out, fails = await get_bars(proxy, fqsn) if out is None: