!1549 【修复bug】WaitGraceThreadsExit函数固定睡15次

Merge pull request !1549 from stupidstan/master
This commit is contained in:
opengauss-bot
2022-02-28 06:51:12 +00:00
committed by Gitee

View File

@ -120,6 +120,8 @@ void WaitGraceThreadsExit(void)
for (loop = 0; loop < WAITTIME; loop++) {
if (0 != alive_threads_waitted) {
pg_usleep(100);
} else {
break;
}
}
}