]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/rgw/notifications: allow http server to buffer more requests 57638/head
authorYuval Lifshitz <ylifshit@ibm.com>
Wed, 22 May 2024 18:48:23 +0000 (18:48 +0000)
committerYuval Lifshitz <ylifshit@ibm.com>
Wed, 22 May 2024 18:48:23 +0000 (18:48 +0000)
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 <ylifshit@ibm.com>
src/test/rgw/bucket_notification/test_bn.py

index 8e1dc7b2a2bf66c967dc1db887ab94175f1f5d2a..83e176190c0d6983197528c9de7c6afbda908656 100644 (file)
@@ -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)