def __init__(self, settings=conf.settings): self.expire = settings.getint('HTTPCACHE_EXPIRATION_SECS') self.compression = self._get_compression_algorithm(settings) self.db = get_database(settings) self.fs = {}
def __init__(self, settings=conf.settings): self.expire = settings.getint('HTTPCACHE_EXPIRATION_SECS') self.db = get_database(settings) self.fs = {}