def __init__(self, cache_size=100, cust_dbpool=None):
        self._cache_size = cache_size
        if cache_size >= 100:
            RequestCache._preload_limit = int(cache_size * 0.30)
        self._cached_reqs = {}
        self._last_used = {}
        self._min_time = None
        self.hits = 0
        self.misses = 0
        self.dbpool = cust_dbpool
        self._next_in_mem_id = 1
        self._preload_limit = 10
        self.all_ids = set()
        self.unmangled_ids = set()
        self.ordered_ids = SortedCollection(key=lambda x: -self.req_times[x])
        self.inmem_reqs = set()
        self.req_times = {}
dataset/ETHPy150Open roglew/pappy-proxy/pappyproxy/requestcache.py/RequestCache.__init__/original