mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Increase value of thread_cache_size to 32
Added 5 minute timeout before automaticlally removing threads from thread cache. This solves a problem with jemalloc, which is slow with a small thread cache and also makes thread_cache big enough that most users doesn't have to touch it
This commit is contained in:
@ -235,6 +235,8 @@
|
||||
that does not respond to "initial server greeting" timely
|
||||
*/
|
||||
#define CONNECT_TIMEOUT 10
|
||||
/* Wait 5 minutes before removing thread from thread cache */
|
||||
#define THREAD_CACHE_TIMEOUT 5*60
|
||||
|
||||
/* The following can also be changed from the command line */
|
||||
#define DEFAULT_CONCURRENCY 10
|
||||
|
Reference in New Issue
Block a user