Skip to content
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

Support transient but not terminated by user errors in retry #156

Merged
merged 3 commits into from
Apr 27, 2017

Conversation

zhenlineo
Copy link
Contributor

@zhenlineo zhenlineo commented Apr 24, 2017

No description provided.

@zhenlineo zhenlineo force-pushed the 1.2-not-retry-on-user-canceled-tx branch from d96c30e to 20d5280 Compare April 24, 2017 13:10
neo4j/v1/api.py Outdated
"""
:type error: TransientError
"""
if (error.code != "Neo.TransientError.Transaction.Terminated"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return error.code in ("error1", "error2")

@zhenlineo zhenlineo merged commit 370d60b into neo4j:1.2 Apr 27, 2017
@zhenlineo zhenlineo deleted the 1.2-not-retry-on-user-canceled-tx branch April 27, 2017 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant