From b3f8a7704a39c3a92b8e1577753387e4c5bb0bdf Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sun, 22 Aug 2021 16:00:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96WAF=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E8=AE=BF=E9=97=AE=E9=80=9F=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/db/models/http_access_log_dao.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/db/models/http_access_log_dao.go b/internal/db/models/http_access_log_dao.go index 53d9da29..008f33c4 100644 --- a/internal/db/models/http_access_log_dao.go +++ b/internal/db/models/http_access_log_dao.go @@ -238,6 +238,7 @@ func (this *HTTPAccessLogDAO) listAccessLogs(tx *dbs.Tx, lastRequestId string, s } if hasFirewallPolicy { query.Where("firewallPolicyId>0") + query.UseIndex("firewallPolicyId") } // keyword