Skip to content

Commit cc365bd

Browse files
author
Zhen
committed
Change defalut setting values
1 parent 8c6c1d0 commit cc365bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo4j/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030

3131
# Connection Pool Management
3232
INFINITE = -1
33-
DEFAULT_MAX_CONNECTION_LIFETIME = INFINITE
34-
DEFAULT_MAX_CONNECTION_POOL_SIZE = 250
33+
DEFAULT_MAX_CONNECTION_LIFETIME = 3600 # 1h
34+
DEFAULT_MAX_CONNECTION_POOL_SIZE = 100
3535
DEFAULT_CONNECTION_TIMEOUT = 5.0 # 5s
3636

3737
# Connection Settings

0 commit comments

Comments
 (0)