mirror of
https://github.com/MariaDB/server.git
synced 2025-02-20 20:33:15 +01:00

Due to restricted size of the threadpool, execution of client queries can be delayed (queued) for a while. This delay was interpreted as client inactivity, and connection is closed, if client idle time + queue time exceeds wait_timeout. But users did not expect queue time to be included into wait_timeout. This patch changes the behavior. We don't close connection anymore, if there is some unread data present on connection, even if wait_timeout is exceeded. Unread data means that client was not idle, it sent a query, which we did not have time to process yet.
1 line
No EOL
33 B
Text
1 line
No EOL
33 B
Text
--thread-handling=pool-of-threads |