Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Nov 26, 2024
1 parent 97bd6b2 commit bccb03b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions kong/db/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,6 @@ function DB.new(kong_config, strategy)

local connector, strategies, err = Strategies.new(kong_config, strategy,
schemas, errors)
-- check pagination.max_page_size
assert(connector.defaults.pagination.max_page_size ==
strategy == "off" and 2048 or 50000)

if err then
return nil, err
Expand Down
1 change: 0 additions & 1 deletion kong/db/strategies/connector.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ local Connector = {
defaults = {
pagination = {
page_size = 1000,
-- lmdb will not support huge page size
max_page_size = 50000,
},
},
Expand Down

0 comments on commit bccb03b

Please sign in to comment.