diff --git a/nym-network-monitor/locustfile.py b/nym-network-monitor/locustfile.py index de59b514a6..03f83ec881 100644 --- a/nym-network-monitor/locustfile.py +++ b/nym-network-monitor/locustfile.py @@ -6,7 +6,7 @@ class SendMsg(HttpUser): @task def hello_world(self): try: - response = self.client.post("/v1/send") + response = self.client.post("/v1/send", timeout=10) if response.status_code == 503: time.sleep(1) response.raise_for_status() # Raise an exception for bad status codes (4xx or 5xx)