@@ -51,14 +51,15 @@ class Query:
51
51
the transaction timeout in seconds.
52
52
Transactions that execute longer than the configured timeout will
53
53
be terminated by the database.
54
- This functionality allows to limit query/transaction execution
55
- time.
56
- The Specified timeout overrides the default timeout configured in
54
+ This functionality allows user code to limit query/transaction
55
+ execution time.
56
+ The specified timeout overrides the default timeout configured in
57
57
the database using the ``db.transaction.timeout`` setting
58
58
(``dbms.transaction.timeout`` before Neo4j 5.0).
59
59
Values higher than ``db.transaction.timeout`` will be ignored and
60
- will fall back to the default for server versions 4.2 to including
61
- 5.2. The value should not represent a negative duration.
60
+ will fall back to the default for server versions between 4.2 and
61
+ 5.2 (inclusive).
62
+ The value should not represent a negative duration.
62
63
A ``0`` duration will make the transaction execute indefinitely.
63
64
:data:`None` will use the default timeout configured on the server.
64
65
:type timeout: float | None
@@ -114,14 +115,15 @@ def count_people_tx(tx):
114
115
the transaction timeout in seconds.
115
116
Transactions that execute longer than the configured timeout will
116
117
be terminated by the database.
117
- This functionality allows to limit query/transaction execution
118
- time.
119
- The Specified timeout overrides the default timeout configured in
118
+ This functionality allows user code to limit query/transaction
119
+ execution time.
120
+ The specified timeout overrides the default timeout configured in
120
121
the database using the ``db.transaction.timeout`` setting
121
122
(``dbms.transaction.timeout`` before Neo4j 5.0).
122
123
Values higher than ``db.transaction.timeout`` will be ignored and
123
- will fall back to the default for server versions 4.2 to including
124
- 5.2. The value should not represent a negative duration.
124
+ will fall back to the default for server versions between 4.2 and
125
+ 5.2 (inclusive).
126
+ The value should not represent a negative duration.
125
127
A ``0`` duration will make the transaction execute indefinitely.
126
128
:data:`None` will use the default timeout configured on the server.
127
129
:type timeout: float | None
0 commit comments