ib: ignore throttles on `.get_head_time()`

misc_brokerd_backend_repairs
Tyler Goodlet 2022-12-08 15:46:27 -05:00
parent 8d1eb81f16
commit 800773e585
1 changed files with 4 additions and 1 deletions

View File

@ -135,7 +135,10 @@ async def open_history_client(
# fx cons seem to not provide this endpoint?
'idealpro' not in fqsn
):
head_dt = await proxy.get_head_time(fqsn=fqsn)
try:
head_dt = await proxy.get_head_time(fqsn=fqsn)
except RequestError:
head_dt = None
async def get_hist(
timeframe: float,