def update(self, symbol, quotes):
        assert quotes['time'][0] < quotes['time'][1], \
            'Data are not chronological ordered.'

        # FIXME: disable update_multi for markets like SH
        # need to fix timestamp_to_index first
        if self.market_minutes == 1440: # full day
            self._update_multi(symbol, quotes)
        else:
            self._update(symbol, quotes)
called when stuck waiting for connection to close
dataset/ETHPy150Open yinhm/datafeed/datafeed/datastore.py/OHLC.update--crossover with--dataset/ETHPy150Open pika/pika/tests/unit/select_connection_ioloop_tests.py/IOLoopSocketBaseSelect.on_timeout