Skip to content

Commit

Permalink
Increate key space limit to 10MiB
Browse files Browse the repository at this point in the history
  • Loading branch information
pverscha authored Dec 7, 2023
1 parent 24045c6 commit 231736a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/initializers/rack_initializer.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if Rack::Utils.respond_to?("key_space_limit=")
# Increase limit to 10 MiB
Rack::Utils.key_space_limit = 10485760
end

0 comments on commit 231736a

Please sign in to comment.