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

Added reconnect of connection and TaskTransactionContextManager #549

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

wciurzynski
Copy link

  1. Handling reconnect connection after "Connection was killed" etc.
  2. Added TaskTransactionContextManager to bind Task in asyncio with connection for making changes during SQL transaction. This Manager is able to call functions/coroutines after successful transaction (after "commit").
  3. Default logging level was set to WARNING. Setting logging level to other DEBUG will turn on some logs helpful with debugging.

# Conflicts:
#	CHANGES.txt
#	aiomysql/pool.py
#	aiomysql/utils.py
#	docs/pool.rst
#	pyproject.toml
#	requirements-dev.txt
#	setup.cfg
#	tests/_testutils.py
#	tests/base.py
#	tests/conftest.py
#	tests/sa/test_sa_compiled_cache.py
#	tests/sa/test_sa_connection.py
#	tests/sa/test_sa_default.py
#	tests/sa/test_sa_engine.py
#	tests/test_sscursor.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants