diff options
Diffstat (limited to 'sql/threadpool_common.cc')
-rw-r--r-- | sql/threadpool_common.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/threadpool_common.cc b/sql/threadpool_common.cc index 72897e5daad..d9a6fc75f41 100644 --- a/sql/threadpool_common.cc +++ b/sql/threadpool_common.cc @@ -666,9 +666,9 @@ static bool tp_notify_apc(THD *thd, THD *this_thd) poll, then we will wait until the epoch change, therefore, will wait until the task will reach the worker by the queue, which can be long. - So longer sleep here. + So longer sleep here (1ms). */ - sleep(1); + my_sleep(1000); } } } |