Only load 4 ib requests worth of bars on windows...

windows_fixes_yo
wattygetlood 2021-09-28 18:40:56 -04:00 committed by wattygetlood
parent d069481f1d
commit cc87508fd9
1 changed files with 5 additions and 0 deletions

View File

@ -1204,6 +1204,11 @@ async def backfill_bars(
https://github.com/pikers/piker/issues/128
"""
if platform.system() == 'Windows':
log.warning(
'Decreasing history query count to 4 since, windows...')
count = 4
out, fails = await get_bars(sym)
if out is None: