diff --git a/piker/brokers/binance.py b/piker/brokers/binance.py index 1820b6c6..6f3014d1 100644 --- a/piker/brokers/binance.py +++ b/piker/brokers/binance.py @@ -82,7 +82,7 @@ _ohlc_dtype = [ ohlc_dtype = np.dtype(_ohlc_dtype) _show_wap_in_history = False -_search_conf = {'pause_period': 0.375} +_search_conf = {'pause_period': 0.0616} # https://binance-docs.github.io/apidocs/spot/en/#exchange-information @@ -298,7 +298,7 @@ async def stream_messages(ws): if cs.cancelled_caught: timeouts += 1 - if timeouts > 2: + if timeouts > 10: raise trio.TooSlowError("binance feed seems down?") continue