

def _loadFromMySQL(self, start=0):
    sql = ('SELECT uuid, type\n                 FROM spider_service\n                 ORDER BY id LIMIT %s, 10000\n              ' % start)
    LOGGER.debug(sql)
    d = self.mysql.runQuery(sql)
    d.addCallback(self._loadFromMySQLCallback, start)
    d.addErrback(self._loadFromMySQLErrback)
    return d

dataset/ETHPy150Open wehriam/awspider/awspider/servers2/scheduler.py SchedulerServer._loadFromMySQL/original