Skip to content

Support skip_autocommit_rollback option for sqlalchemy#185

Open
artofhuman wants to merge 1 commit intoapache:masterfrom
artofhuman:support-skip_autocommit_rollback
Open

Support skip_autocommit_rollback option for sqlalchemy#185
artofhuman wants to merge 1 commit intoapache:masterfrom
artofhuman:support-skip_autocommit_rollback

Conversation

@artofhuman
Copy link

This option disables rollback attempts when the database is in autocommit mode.
It prevents errors that may occur when closing an invalid connection and also reduces the number of unnecessary queries.

doc: https://docs.sqlalchemy.org/en/21/core/pooling.html#disabling-reset-on-return-for-non-transactional-connections

sqlalchemy commit:
sqlalchemy/sqlalchemy@eea260f

@artofhuman
Copy link
Author

@stoty Could you take a look?

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