!1549 【修复bug】WaitGraceThreadsExit函数固定睡15次
Merge pull request !1549 from stupidstan/master
This commit is contained in:
commit
d26ec83e7b
|
@ -120,6 +120,8 @@ void WaitGraceThreadsExit(void)
|
|||
for (loop = 0; loop < WAITTIME; loop++) {
|
||||
if (0 != alive_threads_waitted) {
|
||||
pg_usleep(100);
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue