From a36f89be4c5c775b3391cf0187dcdfa22784f895 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 8 Apr 2019 09:32:02 +0200 Subject: [PATCH] Fix 7680: gmysql-thread-cleanup option documented incorrectly --- docs/backends/generic-mysql.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/backends/generic-mysql.rst b/docs/backends/generic-mysql.rst index edc0ed9580..02d39fe999 100644 --- a/docs/backends/generic-mysql.rst +++ b/docs/backends/generic-mysql.rst @@ -123,13 +123,13 @@ Use the InnoDB READ-COMMITTED transaction isolation level. Default: yes. 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. -- 2.39.2