sycommon-python-lib 0.2.4a2__py3-none-any.whl → 0.2.4a4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- sycommon/database/pg_checkpoint_service.py +9 -1
- {sycommon_python_lib-0.2.4a2.dist-info → sycommon_python_lib-0.2.4a4.dist-info}/METADATA +2 -2
- {sycommon_python_lib-0.2.4a2.dist-info → sycommon_python_lib-0.2.4a4.dist-info}/RECORD +6 -6
- {sycommon_python_lib-0.2.4a2.dist-info → sycommon_python_lib-0.2.4a4.dist-info}/WHEEL +0 -0
- {sycommon_python_lib-0.2.4a2.dist-info → sycommon_python_lib-0.2.4a4.dist-info}/entry_points.txt +0 -0
- {sycommon_python_lib-0.2.4a2.dist-info → sycommon_python_lib-0.2.4a4.dist-info}/top_level.txt +0 -0
|
@@ -66,7 +66,15 @@ class PgCheckpointService(metaclass=SingletonMeta):
|
|
|
66
66
|
min_size=cls._config.min_pool_size,
|
|
67
67
|
max_size=cls._config.max_pool_size,
|
|
68
68
|
open=False,
|
|
69
|
-
kwargs={
|
|
69
|
+
kwargs={
|
|
70
|
+
"autocommit": True,
|
|
71
|
+
"prepare_threshold": 0,
|
|
72
|
+
"keepalives": 1,
|
|
73
|
+
"keepalives_idle": 30,
|
|
74
|
+
"keepalives_interval": 10,
|
|
75
|
+
"keepalives_count": 5,
|
|
76
|
+
},
|
|
77
|
+
check=AsyncConnectionPool.check_connection,
|
|
70
78
|
)
|
|
71
79
|
|
|
72
80
|
await cls._pool.open()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sycommon-python-lib
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4a4
|
|
4
4
|
Summary: Add your description here
|
|
5
5
|
Requires-Python: >=3.11
|
|
6
6
|
Description-Content-Type: text/markdown
|
|
@@ -41,7 +41,7 @@ Requires-Dist: wecom-aibot-python-sdk>=1.0.2
|
|
|
41
41
|
Requires-Dist: twine>=6.2.0
|
|
42
42
|
Requires-Dist: minio>=7.2.20
|
|
43
43
|
Requires-Dist: langchain-mcp-adapters>=0.2.2
|
|
44
|
-
Requires-Dist: psycopg[binary]>=3.3.4
|
|
44
|
+
Requires-Dist: psycopg[binary,pool]>=3.3.4
|
|
45
45
|
|
|
46
46
|
# sycommon-python-lib
|
|
47
47
|
|
|
@@ -163,7 +163,7 @@ sycommon/database/async_database_service.py,sha256=HZSV0ntVTteT-VZfkM9dwuld-gN5C
|
|
|
163
163
|
sycommon/database/base_db_service.py,sha256=J5ELHMNeGfzA6zVcASPSPZ0XNKrRY3_gdGmVkZw3Mto,946
|
|
164
164
|
sycommon/database/database_service.py,sha256=IMoJ9554dYkr6QfRofvNa0VR24U1WQDz_ATrg0-6EQ0,3857
|
|
165
165
|
sycommon/database/elasticsearch_service.py,sha256=qm490GRlxZlYsQgyfyclSbARRP1-Tc4Lwav3lbPINvQ,3092
|
|
166
|
-
sycommon/database/pg_checkpoint_service.py,sha256=
|
|
166
|
+
sycommon/database/pg_checkpoint_service.py,sha256=LCwJ9ZADIXkE715Fi3ySkNDDwlY3PC6ZSi34ZYXzBbs,4418
|
|
167
167
|
sycommon/database/redis_service.py,sha256=tPw8UgeuyYQBxWfPRjx7VqlSRFNxIsnR0WSGd36GaA8,20509
|
|
168
168
|
sycommon/database/token_usage_db_service.py,sha256=_hoeB4lYPhDOlJLaUIHIl7z-DNpzsRYrPn5oboD1Y38,6254
|
|
169
169
|
sycommon/health/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -265,8 +265,8 @@ sycommon/tools/syemail.py,sha256=BDFhgf7WDOQeTcjxJEQdu0dQhnHFPO_p3eI0-Ni3LhQ,561
|
|
|
265
265
|
sycommon/tools/timing.py,sha256=OiiE7P07lRoMzX9kzb8sZU9cDb0zNnqIlY5pWqHcnkY,2064
|
|
266
266
|
sycommon/xxljob/__init__.py,sha256=7eoBlQxv-B39IfRSCY2bkqdGYs1QRe1umAWd88VMEEM,86
|
|
267
267
|
sycommon/xxljob/xxljob_service.py,sha256=JIEJaGXhqrTLcyxlyynSrsHg9bBnDNzX-D4qIWLRPUE,6815
|
|
268
|
-
sycommon_python_lib-0.2.
|
|
269
|
-
sycommon_python_lib-0.2.
|
|
270
|
-
sycommon_python_lib-0.2.
|
|
271
|
-
sycommon_python_lib-0.2.
|
|
272
|
-
sycommon_python_lib-0.2.
|
|
268
|
+
sycommon_python_lib-0.2.4a4.dist-info/METADATA,sha256=r581bV9k6N_uteKD23XCyNo7CDBrnY1-g8FdLBAzFc8,7879
|
|
269
|
+
sycommon_python_lib-0.2.4a4.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
270
|
+
sycommon_python_lib-0.2.4a4.dist-info/entry_points.txt,sha256=gsR4SssKxDWjRU8ggidzNcdMXDPRSKRS7UaGyNP84Qg,92
|
|
271
|
+
sycommon_python_lib-0.2.4a4.dist-info/top_level.txt,sha256=RgphKrg7nJyZ7irJqbxFr-5H2LUYTvI7ivoWZH2hcD0,29
|
|
272
|
+
sycommon_python_lib-0.2.4a4.dist-info/RECORD,,
|
|
File without changes
|
{sycommon_python_lib-0.2.4a2.dist-info → sycommon_python_lib-0.2.4a4.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{sycommon_python_lib-0.2.4a2.dist-info → sycommon_python_lib-0.2.4a4.dist-info}/top_level.txt
RENAMED
|
File without changes
|