The timeout in seconds for each attempt to read from, or write to the
server. A value of 0 will disable the timeout. Default: 10
-.. _setting-gmysql-thread-closer:
+.. _setting-gmysql-thread-cleanup:
-``gmysql-thread-closer``
+``gmysql-thread-cleanup``
^^^^^^^^^^^^^^^^^^^^^^^^
.. versionadded:: 4.1.8
-Older versions (such as those shipped on RHEL 7) of the MySQL/MariaDB client libraries leak memory unless applications explicitly report the end of each thread to the library. Enabling ``gmysql-thread-closer`` tells PowerDNS to call ``mysql_thread_end()`` whenever a thread ends.
+Older versions (such as those shipped on RHEL 7) of the MySQL/MariaDB client libraries leak memory unless applications explicitly report the end of each thread to the library. Enabling ``gmysql-thread-cleanup`` tells PowerDNS to call ``mysql_thread_end()`` whenever a thread ends.
Only enable this if you are certain you need to. For more discussion, see https://github.com/PowerDNS/pdns/issues/6231.