def _get_memcache_timeout(self, timeout):
        timeout = timeout or self.default_timeout
        if timeout > 2592000: # 60*60*24*30, 30 days
            # See http://code.google.com/p/memcached/wiki/FAQ
            # "You can set expire times up to 30 days in the future. After that
            # memcached interprets it as a date, and will expire the item after
            # said date. This is a simple (but obscure) mechanic."
            #
            # This means that we have to switch to absolute timestamps.
            timeout += int(time.time())
        return timeout
Construct a compactor context.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/_internal/django/core/cache/backends/memcached.py/CacheClass._get_memcache_timeout--crossover with--dataset/ETHPy150Open wickman/compactor/compactor/context.py/Context.__init__