Skip to content

Commit 052dee0

Browse files
Updated the default connection timeout.
The default connection timeout is changed to 30 seconds.
1 parent 3489a23 commit 052dee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo4j/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
INFINITE = -1
3636
DEFAULT_MAX_CONNECTION_LIFETIME = 3600 # 1h
3737
DEFAULT_MAX_CONNECTION_POOL_SIZE = 100
38-
DEFAULT_CONNECTION_TIMEOUT = 5.0 # 5s
38+
DEFAULT_CONNECTION_TIMEOUT = 30.0 # 30s
3939

4040
# Connection Settings
4141
DEFAULT_CONNECTION_ACQUISITION_TIMEOUT = 60 # 1m

0 commit comments

Comments
 (0)