diff --git a/storage/perfschema/pfs_instr.cc b/storage/perfschema/pfs_instr.cc index 9ddebe0..a8afb11 100644 --- a/storage/perfschema/pfs_instr.cc +++ b/storage/perfschema/pfs_instr.cc @@ -620,6 +620,7 @@ PFS_thread *find_thread_by_internal_id(ulonglong thread_id) { PFS_thread_iterator it = global_thread_container.iterate(index); do { + usleep(100000); pfs = it.scan_next(&index); if (pfs != nullptr) { if (pfs->m_thread_internal_id == thread_id) {