Skip to content

Commit

Permalink
docs(*): document new max_queued_batches parameter (#10070)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshuebner authored Jan 5, 2023
1 parent 3a08d74 commit 62adb14
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions kong.conf.default
Original file line number Diff line number Diff line change
Expand Up @@ -1771,3 +1771,13 @@
# Setting this attribute disables the search
# behavior and explicitly instructs Kong which
# OpenResty installation to use.

#max_queued_batches = 100 # Maximum number of batches to keep on an internal
# plugin queue before dropping old batches. This is
# meant as a global, last-resort control to prevent
# queues from consuming infinite memory. When batches
# are being dropped, an error message
# "exceeded max_queued_batches (%d), dropping oldest"
# will be logged. The error message will also include
# a string that identifies the plugin causing the
# problem.
2 changes: 2 additions & 0 deletions kong/templates/kong_defaults.lua
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,6 @@ openresty_path =
opentelemetry_tracing = off
opentelemetry_tracing_sampling_rate = 1.0
max_queued_batches = 100
]]

1 comment on commit 62adb14

@khcp-gha-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:62adb142ca36895157691711a5c4a68169277d6f
Artifacts available https://github.com/Kong/kong/actions/runs/3847295782

Please sign in to comment.