Limit the number of Monitor threads to 16

pull/738/head
René Cannaò 10 years ago
parent 249511c15c
commit 1027c31359

@ -298,6 +298,9 @@ MySQL_Monitor::MySQL_Monitor() {
num_threads=GloMTH->num_threads*2;
}
}
if (num_threads>16) {
num_threads=16; // limit to 16
}
};
MySQL_Monitor::~MySQL_Monitor() {

Loading…
Cancel
Save