read_timeout and write_timeout should have default values
dotmanila opened this issue · comments
Jervin Real commented
By default both values are set to 0 unless otherwise specified from MySQLdb.connect. This can lead to problems as applications that would otherwise broke socket connections to MySQL can hang without feedback up to tcp_retries2 timeout.
I suggest setting this to 30 and 60 respectively to match server defaults.