We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently hasql-transaction retries infinitely on code 40001 , this causes problems on replicas as mentioned on PostgREST/postgrest#3673.
40001
Would it be possible to make the retrying behavior on both 40001 and 40P01 optional?
40P01
This is done here
hasql-transaction/library/Hasql/Transaction/Private/Sessions.hs
Lines 48 to 49 in 2a9a710
The text was updated successfully, but these errors were encountered:
I guess the functions that execute transactions can be parameterized with a configuration of how error codes should be handled. PR is welcome
Sorry, something went wrong.
No branches or pull requests
Currently hasql-transaction retries infinitely on code
40001
, this causes problems on replicas as mentioned on PostgREST/postgrest#3673.Would it be possible to make the retrying behavior on both
40001
and40P01
optional?This is done here
hasql-transaction/library/Hasql/Transaction/Private/Sessions.hs
Lines 48 to 49 in 2a9a710
The text was updated successfully, but these errors were encountered: