From e843a67b60462103bf6e8671b7737a19f5f09979 Mon Sep 17 00:00:00 2001 From: Stefano Ottolenghi Date: Fri, 3 May 2024 08:05:57 +0200 Subject: [PATCH] Update tx timeout as of https://github.com/neo-technology/neo4j/pull/25235 (#104) --- modules/ROOT/pages/transactions.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/transactions.adoc b/modules/ROOT/pages/transactions.adoc index 71ba66c..7af22b0 100644 --- a/modules/ROOT/pages/transactions.adoc +++ b/modules/ROOT/pages/transactions.adoc @@ -213,7 +213,7 @@ Content-Type: application/json;charset=utf-8 == Transaction expiration and keep alive Transactions expire automatically after a period of inactivity, after which they are rolled back. -By default the timeout is 2 seconds, but you can set a different value in the server configuration (link:{neo4j-docs-base-uri}/operations-manual/{page-version}/configuration/configuration-settings#config_db.transaction.timeout[`db.transaction.timeout`]). +By default the timeout is 30 seconds, but you can set a different value in the server configuration (link:{neo4j-docs-base-uri}/operations-manual/{page-version}/configuration/configuration-settings#config_server.http.transaction_idle_timeout[`server.http.transaction_idle_timeout`]). The transaction expiration time is reported in each response, under the `transaction` key. To keep a transaction alive without submitting new queries, you can submit an empty statement list to the transaction URI.