diff --git a/rest_api/rest_api/controller/utils.py b/rest_api/rest_api/controller/utils.py index 5579d3f0b..49587968e 100644 --- a/rest_api/rest_api/controller/utils.py +++ b/rest_api/rest_api/controller/utils.py @@ -10,7 +10,7 @@ from pydantic import BaseModel class RequestLimiter: def __init__(self, limit): - self.semaphore = Semaphore(limit - 1) + self.semaphore = Semaphore(limit) @contextmanager def run(self):