PyMySQLPool
PyMySQLPool copied to clipboard
ping_check is not working
What happened
ping_check is not working, no matter I set it to int or bool
Env
- Ubuntu 20.04
- Miniconda 23.1.0
- Base Env: python3.8
How I fix it temporarily
https://github.com/prprprus/PyMySQLPool/blob/212110afaaa01f1d0d3faa8fe099ad19f48a8fbe/pymysqlpool/pool.py#L179
change __ping_check_timestamp ==> _Pool__ping_check_timestamp
Discussion
I do not know why origin code is not working, I also think it it right at first. Maybe it related to Miniconda or Python version?