Skip to content

Commit ea47eeb

Browse files
spacewanderbzp2010
andauthored
fix(batch-requests): should be disabled by default (#6204) (#6208)
Co-authored-by: Zeping Bai <bzp2010@apache.org>
1 parent d9be046 commit ea47eeb

5 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/chaos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: |
5353
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
5454
helm repo add bitnami https://charts.bitnami.com/bitnami
55-
helm install etcd bitnami/etcd --set replicaCount=3 --set auth.rbac.enabled=false
55+
helm install etcd bitnami/etcd --set replicaCount=3 --set auth.rbac.create=false
5656
kubectl wait pods -l app.kubernetes.io/instance=etcd --for=condition=Ready --timeout=300s --all
5757
5858

conf/config-default.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ plugins: # plugin list (sorted by priority)
303303
- request-id # priority: 11010
304304
- fault-injection # priority: 11000
305305
- serverless-pre-function # priority: 10000
306-
- batch-requests # priority: 4010
306+
#- batch-requests # priority: 4010
307307
- cors # priority: 4000
308308
- ip-restriction # priority: 3000
309309
- ua-restriction # priority: 2999

t/admin/plugins.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ __DATA__
4040
--- request
4141
GET /apisix/admin/plugins/list
4242
--- response_body_like eval
43-
qr/\["real-ip","client-control","ext-plugin-pre-req","zipkin","request-id","fault-injection","serverless-pre-function","batch-requests","cors","ip-restriction","ua-restriction","referer-restriction","uri-blocker","request-validation","openid-connect","authz-casbin","wolf-rbac","hmac-auth","basic-auth","jwt-auth","key-auth","consumer-restriction","authz-keycloak","proxy-mirror","proxy-cache","proxy-rewrite","api-breaker","limit-conn","limit-count","limit-req","gzip","server-info","traffic-split","redirect","response-rewrite","grpc-transcode","prometheus","echo","http-logger","sls-logger","tcp-logger","kafka-logger","syslog","udp-logger","example-plugin","serverless-post-function","ext-plugin-post-req"\]/
43+
qr/\["real-ip","client-control","ext-plugin-pre-req","zipkin","request-id","fault-injection","serverless-pre-function","cors","ip-restriction","ua-restriction","referer-restriction","uri-blocker","request-validation","openid-connect","authz-casbin","wolf-rbac","hmac-auth","basic-auth","jwt-auth","key-auth","consumer-restriction","authz-keycloak","proxy-mirror","proxy-cache","proxy-rewrite","api-breaker","limit-conn","limit-count","limit-req","gzip","server-info","traffic-split","redirect","response-rewrite","grpc-transcode","prometheus","echo","http-logger","sls-logger","tcp-logger","kafka-logger","syslog","udp-logger","example-plugin","serverless-post-function","ext-plugin-post-req"\]/
4444
--- no_error_log
4545
[error]
4646

t/debug/debug-mode.t

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ loaded plugin and sort by priority: 11011 name: zipkin
4848
loaded plugin and sort by priority: 11010 name: request-id
4949
loaded plugin and sort by priority: 11000 name: fault-injection
5050
loaded plugin and sort by priority: 10000 name: serverless-pre-function
51-
loaded plugin and sort by priority: 4010 name: batch-requests
5251
loaded plugin and sort by priority: 4000 name: cors
5352
loaded plugin and sort by priority: 3000 name: ip-restriction
5453
loaded plugin and sort by priority: 2990 name: referer-restriction

t/toolkit

0 commit comments

Comments
 (0)