Lengthen startup quote get timeout

misc_ib_updates
Tyler Goodlet 2021-12-02 08:08:37 -05:00
parent 0e4a7e3846
commit d69d3b319e
1 changed files with 2 additions and 1 deletions

View File

@ -1164,6 +1164,7 @@ async def backfill_bars(
""" """
out, fails = await get_bars(sym) out, fails = await get_bars(sym)
if out is None: if out is None:
raise RuntimeError("Could not pull currrent history?!") raise RuntimeError("Could not pull currrent history?!")
@ -1356,7 +1357,7 @@ async def stream_quotes(
# TODO: support multiple subscriptions # TODO: support multiple subscriptions
sym = symbols[0] sym = symbols[0]
with trio.fail_after(3): with trio.fail_after(5):
contract, first_ticker, details = await _trio_run_client_method( contract, first_ticker, details = await _trio_run_client_method(
method='get_quote', method='get_quote',
symbol=sym, symbol=sym,