From b17472efe800d8cf4ce7fa60bc13f444190e345e Mon Sep 17 00:00:00 2001 From: zhangjintao Date: Tue, 7 Feb 2023 00:38:27 -0800 Subject: [PATCH] =?UTF-8?q?PoolManagerCleanConnection=E4=B8=AD=E8=B0=83?= =?UTF-8?q?=E7=94=A8pg=5Fusleep=E7=A9=BA=E8=BD=AC=E4=BA=86500ms?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/backend/pgxc_single/pool/poolmgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/backend/pgxc_single/pool/poolmgr.cpp b/src/common/backend/pgxc_single/pool/poolmgr.cpp index 575a33bd5..41a49323b 100644 --- a/src/common/backend/pgxc_single/pool/poolmgr.cpp +++ b/src/common/backend/pgxc_single/pool/poolmgr.cpp @@ -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 {