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

AlinsRan pushed a commit to branch feat/limit-count-sentinel
in repository https://gitbox.apache.org/repos/asf/apisix.git

commit 6be644161a62485d3d34d95fe27d62504bcc8cda
Author: AlinsRan <[email protected]>
AuthorDate: Mon Jun 8 09:10:02 2026 +0800

    fix(limit-count): restore window_type/sync_interval schema defaults
---
 apisix/plugins/limit-count/init.lua | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/apisix/plugins/limit-count/init.lua 
b/apisix/plugins/limit-count/init.lua
index 47eb983bf..29f5f0f42 100644
--- a/apisix/plugins/limit-count/init.lua
+++ b/apisix/plugins/limit-count/init.lua
@@ -127,6 +127,7 @@ local schema = {
         window_type = {
             type = "string",
             enum = {"fixed", "sliding"},
+            default = "fixed",
         },
         rules = {
             type = "array",
@@ -175,6 +176,7 @@ local schema = {
         show_limit_quota_header = {type = "boolean", default = true},
         sync_interval = {
             type = "number",
+            default = NO_DELAYED_SYNC,
         }
     },
     oneOf = {

Reply via email to