@@ -250,7 +250,7 @@ def __init__(self, conf, retry=1, session=None):
250
250
if session is None :
251
251
self ._session = CosS3Client .__built_in_sessions
252
252
CosS3Client .__built_in_used = True
253
- logger .info ("bound built-in connection pool success . maxsize=%d,%d" % (self ._conf ._pool_connections , self ._conf ._pool_maxsize ))
253
+ logger .info ("bound built-in connection pool when new client . maxsize=%d,%d" % (self ._conf ._pool_connections , self ._conf ._pool_maxsize ))
254
254
else :
255
255
self ._session = session
256
256
@@ -271,7 +271,7 @@ def set_built_in_connection_pool_max_size(self, PoolConnections, PoolMaxSize):
271
271
# 重新绑定到内置连接池
272
272
if CosS3Client .__built_in_used :
273
273
self ._session = CosS3Client .__built_in_sessions
274
- logger .info ("rebound built-in connection pool success . maxsize=%d,%d" % (PoolConnections , PoolMaxSize ))
274
+ logger .info ("bound built-in connection pool when new config . maxsize=%d,%d" % (PoolConnections , PoolMaxSize ))
275
275
276
276
def generate_built_in_connection_pool (self , PoolConnections , PoolMaxSize ):
277
277
"""生成SDK内置的连接池,此连接池是client间共用的"""
@@ -300,7 +300,7 @@ def handle_built_in_connection_pool_by_pid(self):
300
300
# 重新绑定到内置连接池
301
301
if CosS3Client .__built_in_used :
302
302
self ._session = CosS3Client .__built_in_sessions
303
- logger .info ("rebound built-in connection when new process . maxsize=%d,%d" % (self ._conf ._pool_connections , self ._conf ._pool_maxsize ))
303
+ logger .info ("bound built-in connection pool when new processor . maxsize=%d,%d" % (self ._conf ._pool_connections , self ._conf ._pool_maxsize ))
304
304
305
305
def get_conf (self ):
306
306
"""获取配置"""
0 commit comments