Skip to content

Commit f0f46ba

Browse files
authored
Docs: improve wording around transaction timeout (#1488)
* Docs: improve wording around transaction timeout Signed-off-by: Grant Lodge <[email protected]> * Fix capitalization Signed-off-by: Richard Irons <[email protected]> --------- Signed-off-by: Grant Lodge <[email protected]> Signed-off-by: Richard Irons <[email protected]>
1 parent 79f2ce2 commit f0f46ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

driver/src/main/java/org/neo4j/driver/TransactionConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ private Builder() {}
174174
* Set the transaction timeout. Transactions that execute longer than the configured timeout will be terminated by the database.
175175
* See also {@link #withDefaultTimeout}.
176176
* <p>
177-
* This functionality allows to limit query/transaction execution time.
178-
* The Specified timeout overrides the default timeout configured in the database using the {@code db.transaction.timeout} setting ({@code dbms.transaction.timeout} before Neo4j 5.0).
179-
* Values higher than {@code db.transaction.timeout} will be ignored and will fall back to the default for server versions 4.2 to including 5.2.
177+
* This functionality allows user code to limit query/transaction execution time.
178+
* The specified timeout overrides the default timeout configured in the database using the {@code db.transaction.timeout} setting ({@code dbms.transaction.timeout} before Neo4j 5.0).
179+
* Values higher than {@code db.transaction.timeout} will be ignored and will fall back to the default for server versions between 4.2 and 5.2 (inclusive).
180180
* <p>
181181
* The provided value should not represent a negative duration.
182182
* {@link Duration#ZERO} will make the transaction execute indefinitely.

0 commit comments

Comments
 (0)