def shrink(self, n=1):
        """Change the size of the semaphore to accept less users."""
        self.initial_value = max(self.initial_value - n, 0)
        self.value = max(self.value - n, 0)
dataset/ETHPy150Open celery/kombu/kombu/async/semaphore.py/LaxBoundedSemaphore.shrink/original