Skip to content

Commit 6cea141

Browse files
committed
update default pool size to 100
1 parent 7496942 commit 6cea141

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ydb/aio/query/pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
class QuerySessionPoolAsync:
2424
"""QuerySessionPoolAsync is an object to simplify operations with sessions of Query Service."""
2525

26-
def __init__(self, driver: common_utils.SupportedDriverType, size: int = 10):
26+
def __init__(self, driver: common_utils.SupportedDriverType, size: int = 100):
2727
"""
2828
:param driver: A driver instance
2929
:param size: Size of session pool

ydb/query/pool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
class QuerySessionPool:
2626
"""QuerySessionPool is an object to simplify operations with sessions of Query Service."""
2727

28-
def __init__(self, driver: common_utils.SupportedDriverType, size: int = 10):
28+
def __init__(self, driver: common_utils.SupportedDriverType, size: int = 100):
2929
"""
3030
:param driver: A driver instance
3131
"""

0 commit comments

Comments
 (0)