@defer.inlineCallbacks
    def load_ids(self):
        if not self.dbpool:
            self.dbpool = pappyproxy.http.dbpool
        rows = yield self.dbpool.runQuery(
            """
            SELECT id, start_datetime FROM requests;
            """
            )
        for row in rows:
            if row[1]:
                self.req_times[str(row[0])] = row[1]
            else:
                self.req_times[str(row[0])] = 0
            if str(row[0]) not in self.all_ids:
                self.ordered_ids.insert(str(row[0]))
            self.all_ids.add(str(row[0]))

        rows = yield self.dbpool.runQuery(
            """
            SELECT unmangled_id FROM requests
            WHERE unmangled_id is NOT NULL;
            """
        )
        for row in rows:
            self.unmangled_ids.add(str(row[0]))
dataset/ETHPy150Open roglew/pappy-proxy/pappyproxy/requestcache.py/RequestCache.load_ids/original