Skip to content

Commit

Permalink
remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
theweakgod committed Jan 25, 2024
1 parent b0c6792 commit 412b7fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apisix/plugins/limit-conn.lua
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,14 @@ local schema = {
burst = {type = "integer", minimum = 0},
default_conn_delay = {type = "number", exclusiveMinimum = 0},
only_use_default_delay = {type = "boolean", default = false},
key = {
type = "string"
},
key_type = {
type = "string",
enum = {"var", "var_combination"},
default = "var",
},
key = {
type = "string", minLength = 1
},
counter_type = {
type = "string",
enum = {"redis", "redis-cluster", "shared-dict"},
Expand Down

0 comments on commit 412b7fa

Please sign in to comment.