From 74cfbafa38a0d2b16b4cffb8990ff255f7c3299a Mon Sep 17 00:00:00 2001 From: Mijamind Date: Fri, 30 Jun 2023 11:11:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=93NDP=E9=98=9F=E5=88=97=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA=E6=97=B6,=E4=B8=8D=E7=9B=B4=E6=8E=A5continue=E8=80=8C?= =?UTF-8?q?=E6=98=AF=E9=83=A8=E5=88=86page=E8=B5=B0=E5=8E=9F=E7=94=9F,?= =?UTF-8?q?=E9=98=B2=E6=AD=A2=E6=AD=BB=E5=BE=AA=E7=8E=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- contrib/ndpplugin/ndpplugin.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/contrib/ndpplugin/ndpplugin.cpp b/contrib/ndpplugin/ndpplugin.cpp index 5e5ca4abf..b80337b87 100644 --- a/contrib/ndpplugin/ndpplugin.cpp +++ b/contrib/ndpplugin/ndpplugin.cpp @@ -301,11 +301,7 @@ static bool NdpScanGetPage(NdpScanDesc ndpScan) Assert(req >= resp); if (ndpScan->handledBlock < ndpScan->nBlock) { -#ifdef ENABLE_SSL if ((req - resp) >= NDP_MAX_AWAIT_REQUEST) { -#else - if ((req - resp) >= NDP_MAX_AWAIT_REQUEST || g_ndp_instance.pageContext->Empty()) { -#endif pg_usleep(NDP_RPC_WAIT_USEC); } else { NdpScanTryPushDownScan((HeapScanDesc)ndpScan->scan, ndpScan);