Speed bump quoter a slight bit

kivy_mainline_and_py3.8
Tyler Goodlet 2019-02-25 22:40:19 -05:00
parent 5e9c38039c
commit 2306799110
1 changed files with 2 additions and 2 deletions

View File

@ -120,11 +120,11 @@ async def test_concurrent_tokens_refresh(us_symbols, loglevel):
quoter = await qt.stock_quoter(client, us_symbols) quoter = await qt.stock_quoter(client, us_symbols)
async def get_quotes(): async def get_quotes():
for tries in range(30): for tries in range(15):
log.info(f"{tries}: GETTING QUOTES!") log.info(f"{tries}: GETTING QUOTES!")
quotes = await quoter(us_symbols) quotes = await quoter(us_symbols)
assert quotes assert quotes
await trio.sleep(0.1) await trio.sleep(0.2)
async def intermittently_refresh_tokens(client): async def intermittently_refresh_tokens(client):
while True: while True: