!2876 函数PoolManagerCleanConnection中调用pg_usleep空转了500ms
Merge pull request !2876 from zhang_jintao2020/PoolManagerClean
This commit is contained in:
@ -1256,8 +1256,8 @@ retry:
|
||||
/*
|
||||
* Wait 0.5 sec in order to void failure.
|
||||
*/
|
||||
pg_usleep(500000);
|
||||
if (loops < 3) {
|
||||
pg_usleep(500000);
|
||||
loops++;
|
||||
goto retry;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user