Commit e80abf1a authored by inaam's avatar inaam

branches/plugin rb://242

Let the master thread sleep if the amount of work to be done is
calibrated as taking less than a second.

Approved by: Heikki
parent d00455cb
......@@ -2524,7 +2524,10 @@ srv_master_thread(
BUF_FLUSH_LIST,
n_flush,
IB_ULONGLONG_MAX);
skip_sleep = TRUE;
if (n_flush == PCT_IO(100)) {
skip_sleep = TRUE;
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment