From 454f6f764f00e3da91af8fd616c4ad331a76d680 Mon Sep 17 00:00:00 2001 From: Yuval Lifshitz Date: Wed, 22 May 2024 18:48:23 +0000 Subject: [PATCH] test/rgw/notifications: allow http server to buffer more requests python doc: https://docs.python.org/3/library/socketserver.html#socketserver.ThreadingMixIn say tha the default is 5 Fixes: https://tracker.ceph.com/issues/66033 Signed-off-by: Yuval Lifshitz --- src/test/rgw/bucket_notification/test_bn.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/rgw/bucket_notification/test_bn.py b/src/test/rgw/bucket_notification/test_bn.py index 8e1dc7b2a2b..83e176190c0 100644 --- a/src/test/rgw/bucket_notification/test_bn.py +++ b/src/test/rgw/bucket_notification/test_bn.py @@ -201,6 +201,7 @@ class HTTPServerWithEvents(ThreadingHTTPServer): self.delay = delay self.cloudevents = cloudevents self.addr = addr + self.request_queue_size = 100 self.lock = threading.Lock() ThreadingHTTPServer.__init__(self, addr, HTTPPostHandler) log.info('http server created on %s', self.addr) -- 2.39.5