Limit webhook payload size to 25MB
Intoduce Gitlab::Json::LimitedEncoder which processes an object using streams which consumes less RAM If an object generates a json string larger than 25MB the webhook is not sent
Showing
... | ... | @@ -510,3 +510,4 @@ gem 'json-schema', '~> 2.8.0' |
gem 'json_schemer', '~> 0.2.12' | ||
gem 'oj', '~> 3.10.6' | ||
gem 'multi_json', '~> 1.14.1' | ||
gem 'yajl-ruby', '~> 1.4.1', require: 'yajl' |
Please register or sign in to comment