From 89e1d5d29f0a87fb3d21357ac197da6f31e214e6 Mon Sep 17 00:00:00 2001 From: Jin Hai Date: Fri, 22 May 2020 14:35:11 +0800 Subject: [PATCH] * #2403 MySQL max_idle_time is 10 by default Signed-off-by: jinhai * #2403 MySQL max_idle_time is 10 by default Signed-off-by: jinhai --- CHANGELOG.md | 2 ++ core/src/db/meta/MySQLConnectionPool.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cda51e8e..6324a290 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ Please mark all change in change log and use the issue from GitHub ## Bug - \#2378 Duplicate data after server restart - \#2399 The nlist set by the user may not take effect +- \#2403 MySQL max_idle_time is 10 by default ## Feature - \#2363 Update branch version to 0.9.1 @@ -13,6 +14,7 @@ Please mark all change in change log and use the issue from GitHub ## Improvement - \#2370 Clean compile warning +- \#2381 Upgrade FAISS to 1.6.3 ## Task diff --git a/core/src/db/meta/MySQLConnectionPool.h b/core/src/db/meta/MySQLConnectionPool.h index bab0ddab..523ffe00 100644 --- a/core/src/db/meta/MySQLConnectionPool.h +++ b/core/src/db/meta/MySQLConnectionPool.h @@ -73,7 +73,7 @@ class MySQLConnectionPool : public mysqlpp::ConnectionPool { int max_pool_size_; - unsigned int max_idle_time_ = 0; // 10 seconds + unsigned int max_idle_time_ = 10; // 10 seconds }; } // namespace meta -- GitLab