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
|
if not hasattr(c, '__ping_check_timestamp'): |
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?
What happened
ping_checkis not working, no matter I set it tointorboolEnv
How I fix it temporarily
PyMySQLPool/pymysqlpool/pool.py
Line 179 in 212110a
change
__ping_check_timestamp==>_Pool__ping_check_timestampDiscussion
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?