From: Yuval Lifshitz Date: Wed, 22 May 2024 18:48:23 +0000 (+0000) Subject: test/rgw/notifications: allow http server to buffer more requests X-Git-Tag: v20.0.0~1859^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=454f6f764f00e3da91af8fd616c4ad331a76d680;p=ceph.git 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 --- diff --git a/src/test/rgw/bucket_notification/test_bn.py b/src/test/rgw/bucket_notification/test_bn.py index 8e1dc7b2a2bf..83e176190c0d 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)