What is the unit of connectionTimeout= "20"?

Gods, can you take a look at this problem for me
I configured connectionTimeout= "20", and then I let the thread sleep in the interface for 30 seconds, but I still have something back when I call this interface. In this way, this parameter is not useless, if it is a second, 30 seconds would have timed out, let alone milliseconds. -sharp-sharp-sharp problem description

Apr.11,2021

something connectionTimeout .


is millisecond, which should refer to the timeout for initiating a session request connection, not for maintaining a session after initiating a request. I remember that there is a keepAliveTimeout parameter that indicates the duration of the session connection, which usually defaults to 15s.


this is the timeout that drives the linked MYSQL server. Even if your thread sleeps, it's only a few hundred milliseconds

after 30 seconds of sleep and no change in the length of the MYSQL, connection.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5bb3c-4d9ea.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5bb3c-4d9ea.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?