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

Run queries as atomic requests #372

Merged
merged 1 commit into from
Oct 6, 2020
Merged

Run queries as atomic requests #372

merged 1 commit into from
Oct 6, 2020

Conversation

longhotsummer
Copy link
Contributor

Without this, a query error (eg. a typo in a table name) causes a 500-level error if the default database connection has ATOMIC_REQUESTS set to True. This is because once the query fails, no other database query succeeds (eg. trying to access the database to render the error page).

Without this, a query error (eg. a typo in a table name) causes a 500-level error if the default database connection has ATOMIC_REQUESTS set to True. This is because once the query fails, no other database query succeeds (eg. trying to access the database to render the error page).
@marksweb marksweb merged commit 593ccaf into explorerhq:master Oct 6, 2020
@longhotsummer longhotsummer deleted the patch-1 branch October 6, 2020 11:05
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.

2 participants