Skip to content

Commit

Permalink
Update tx timeout as of neo-technology/neo4j#25235 (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefano-ottolenghi authored May 3, 2024
1 parent e591fdd commit e843a67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ROOT/pages/transactions.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e843a67

Please sign in to comment.