Skip to content

[4.4] Improve docstring for timeout param in unit_of_work decorator. #828

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions neo4j/work/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,8 @@ def count_people_tx(tx):
Transactions that execute longer than the configured timeout will be terminated by the database.
This functionality allows to limit query/transaction execution time.
Specified timeout overrides the default timeout configured in the database using ``dbms.transaction.timeout`` setting.
Values higher than ``dbms.transaction.timeout`` will be ignored and
will fall back to default (unless using Neo4j < 4.2).
Value should not represent a duration of zero or negative duration.
:type timeout: float or :const:`None`
"""
Expand Down