You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by sp...@apache.org on 2022/01/26 04:09:58 UTC

[apisix] branch master updated: fix(batch-requests): should be disabled by default (#6204)

This is an automated email from the ASF dual-hosted git repository.

spacewander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new 9de83c2  fix(batch-requests): should be disabled by default (#6204)
9de83c2 is described below

commit 9de83c2cb4319571a76f26b5495b40689b7437fe
Author: 罗泽轩 <sp...@gmail.com>
AuthorDate: Wed Jan 26 12:09:54 2022 +0800

    fix(batch-requests): should be disabled by default (#6204)
---
 conf/config-default.yaml | 2 +-
 t/admin/plugins.t        | 1 -
 t/debug/debug-mode.t     | 1 -
 3 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/conf/config-default.yaml b/conf/config-default.yaml
index 2a12930..303f648 100644
--- a/conf/config-default.yaml
+++ b/conf/config-default.yaml
@@ -329,7 +329,7 @@ plugins:                          # plugin list (sorted by priority)
   - request-id                     # priority: 11010
   - fault-injection                # priority: 11000
   - serverless-pre-function        # priority: 10000
-  - batch-requests                 # priority: 4010
+  #- batch-requests                # priority: 4010
   - cors                           # priority: 4000
   - ip-restriction                 # priority: 3000
   - ua-restriction                 # priority: 2999
diff --git a/t/admin/plugins.t b/t/admin/plugins.t
index 344f0b7..9ac2e51 100644
--- a/t/admin/plugins.t
+++ b/t/admin/plugins.t
@@ -68,7 +68,6 @@ zipkin
 request-id
 fault-injection
 serverless-pre-function
-batch-requests
 cors
 ip-restriction
 ua-restriction
diff --git a/t/debug/debug-mode.t b/t/debug/debug-mode.t
index fea9461..579068e 100644
--- a/t/debug/debug-mode.t
+++ b/t/debug/debug-mode.t
@@ -48,7 +48,6 @@ loaded plugin and sort by priority: 11011 name: zipkin
 loaded plugin and sort by priority: 11010 name: request-id
 loaded plugin and sort by priority: 11000 name: fault-injection
 loaded plugin and sort by priority: 10000 name: serverless-pre-function
-loaded plugin and sort by priority: 4010 name: batch-requests
 loaded plugin and sort by priority: 4000 name: cors
 loaded plugin and sort by priority: 3000 name: ip-restriction
 loaded plugin and sort by priority: 2990 name: referer-restriction