def update_ready(self, conn):
        if (BACKOFF, THROTTLED) in self.state:
            return

        conn = self.random_ready_conn(conn)
        if conn.ready_count >= max(conn.last_ready * 0.25, 2):
            return

        self.send_ready(conn, self.connection_max_in_flight)
dataset/ETHPy150Open wtolson/gnsq/gnsq/reader.py/Reader.update_ready/swapped operands of `in`