def get_backend_timeout(self, timeout=DEFAULT_TIMEOUT):
        if timeout == DEFAULT_TIMEOUT:
            timeout = self.default_timeout
        elif timeout == 0:
            # ticket 21147 - avoid time.time() related precision issues
            timeout = -1
        return None if timeout is None else timeout
set ROI bounds
dataset/ETHPy150Open grantjenks/python-diskcache/diskcache/djangocache.py/DjangoCache.get_backend_timeout--crossover with--dataset/ETHPy150Open xraypy/xraylarch/plugins/xrf/roi.py/ROI.set_bounds