Commit f8f7e459 authored by unknown's avatar unknown

srv0srv.c:

  If innodb_thread_concurrency would be exceeded, let a thread sleep 10 ms before entering the FIFO queue; previously, the value was 50 ms, which Peter Z considered too long


innobase/srv/srv0srv.c:
  If innodb_thread_concurrency would be exceeded, let a thread sleep 10 ms before entering the FIFO queue; previously, the value was 50 ms, which Peter Z considered too long
parent 85828f4a
......@@ -951,7 +951,13 @@ srv_conc_enter_innodb(
trx->op_info = "sleeping before joining InnoDB queue";
os_thread_sleep(50000);
/* Peter Zaitsev suggested that we take the sleep away
altogether. But the sleep may be good in pathological
situations of lots of thread switches. Simply put some
threads aside for a while to reduce the number of thread
switches. */
os_thread_sleep(10000);
trx->op_info = "";
......
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