aiomysql icon indicating copy to clipboard operation
aiomysql copied to clipboard

The program is blocked for unknown reasons, causing other protocols to fail to run

Open AndrewGPU opened this issue 1 year ago • 1 comments

Describe the bug

Perform write operations, block all coroutines, happen occasionally, it seems that adding a timeout should work, but no parameters related to read_timeout and write_timeout can be found

To Reproduce

can't reproduce in fixed mode

Expected behavior

Execution timeout or Exception, does not affect other normal operations

Logs/tracebacks

bolck ,Nothing at all

Python Version

Python 3.10.9

aiomysql Version

Name: aiomysql
Version: 0.1.1
Summary: MySQL driver for asyncio.
Home-page: https://github.com/aio-libs/aiomysql
Author: Nikolay Novik
Author-email: [email protected]
License: MIT

PyMySQL Version

Name: PyMySQL
Version: 1.0.2
Summary: Pure Python MySQL Driver
Home-page: https://github.com/PyMySQL/PyMySQL/
Author: yutaka.matsubara
Author-email: [email protected]
License: "MIT"

SQLAlchemy Version

Name: SQLAlchemy
Version: 1.4.46
Summary: Database Abstraction Library
Home-page: https://www.sqlalchemy.org
Author: Mike Bayer
Author-email: [email protected]
License: MIT
Location: /usr/

OS

ubuntu

Database type and version

SELECT VERSION();

Additional context

No response

Code of Conduct

  • [X] I agree to follow the aio-libs Code of Conduct

AndrewGPU avatar Mar 24 '23 05:03 AndrewGPU

this situation happens in my project too. how to fix , any suggestion is appreciated ?

562218352 avatar Feb 20 '24 07:02 562218352