Skip to content

Commit

Permalink
feat: increase accepted byte length (#1905)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziinc authored Jan 3, 2024
1 parent 5542168 commit 401c0d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/logflare_web/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ defmodule LogflareWeb.Router do
plug(Plug.Parsers,
parsers: [:json, :bert, :syslog, :ndjson],
json_decoder: Jason,
body_reader: {PlugCaisson, :read_body, []}
body_reader: {PlugCaisson, :read_body, []},
length: 12_000_000
)

plug(:accepts, ["json", "bert"])
Expand Down

0 comments on commit 401c0d2

Please sign in to comment.