Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.4.4
-
None
Description
Since commit https://github.com/MariaDB/mariadb-connector-j/commit/efc6405.
When using Statement.setQueryTimeout, and execution is done before timeout, the cancel task will not be executed, but stay on memory until timeout is excedded.
If timeout is set to a very big amount of time (like one hour), all those cancel task will consume memory needlessly.