]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/rgw/notifications: increase the max number of boto client connections 67387/head
authorYuval Lifshitz <ylifshit@ibm.com>
Fri, 20 Feb 2026 15:47:11 +0000 (15:47 +0000)
committerYuval Lifshitz <ylifshit@ibm.com>
Mon, 23 Feb 2026 17:48:53 +0000 (17:48 +0000)
this is to avoid this warning:
WARNING  urllib3.connectionpool:connectionpool.py:305 Connection pool is full, discarding connection: localhost

Signed-off-by: Yuval Lifshitz <ylifshit@ibm.com>
src/test/rgw/bucket_notification/api.py

index e4f9851ad72317d28b7db4c11a37875b24f94174..b725afed36688da213b5b6bee98d27d6df9c6b62 100644 (file)
@@ -219,7 +219,8 @@ class S3Connection:
             aws_secret_access_key=aws_secret_access_key,
             config=Config(
                 retries={'max_attempts': self.num_retries},
-                s3={'addressing_style': 'path'}
+                s3={'addressing_style': 'path'},
+                max_pool_connections=50
             )
         )
 
@@ -228,7 +229,10 @@ class S3Connection:
             endpoint_url=self.endpoint_url,
             aws_access_key_id=aws_access_key_id,
             aws_secret_access_key=aws_secret_access_key,
-            config=Config(s3={'addressing_style': 'path'})
+            config=Config(
+                s3={'addressing_style': 'path'},
+                max_pool_connections=50
+            )
         )
 
         # For SSL connections