in src/backoff.py [0:0]
def expo(self, n): """Backoff function.""" return min(self.cap, pow(2, n) * self.base)