diff --git a/CHANGELOG.md b/CHANGELOG.md index 1245154ba25d1dd19253370d59c320d798fdb759..ee7aa1c3e254e9458fe9d7c8fd6e10d3a63e533b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,14 +18,15 @@ 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 -- \#2381 Upgrade to faiss_1.6.3 ## Improvement - \#2307 Disable index SPTAG by default - \#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 bab0ddabcd144bc056bdd7579388d0d01855287c..523ffe00eb0ed5efb956d2d53fe300eb59862acc 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