Drop QT error
parent
49d290d036
commit
8fc74c5085
|
@ -8,7 +8,6 @@ from typing import AsyncContextManager
|
||||||
|
|
||||||
import trio
|
import trio
|
||||||
|
|
||||||
from .questrade import QuestradeError
|
|
||||||
from ..log import get_logger
|
from ..log import get_logger
|
||||||
log = get_logger('broker.core')
|
log = get_logger('broker.core')
|
||||||
|
|
||||||
|
@ -100,8 +99,8 @@ async def poll_tickers(
|
||||||
delay = sleeptime - tot
|
delay = sleeptime - tot
|
||||||
if delay <= 0:
|
if delay <= 0:
|
||||||
log.warn(
|
log.warn(
|
||||||
f"Took {req_time} (request) + {proc_time} (processing) = {tot}"
|
f"Took {req_time} (request) + {proc_time} (processing) "
|
||||||
f" secs (> {sleeptime}) for processing quotes?")
|
f"= {tot} secs (> {sleeptime}) for processing quotes?")
|
||||||
else:
|
else:
|
||||||
log.debug(f"Sleeping for {delay}")
|
log.debug(f"Sleeping for {delay}")
|
||||||
await trio.sleep(delay)
|
await trio.sleep(delay)
|
||||||
|
|
Loading…
Reference in New Issue