• Igor Drozdov's avatar
    Limit webhook payload size to 25MB · bd4163a1
    Igor Drozdov authored
    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
    bd4163a1
json_spec.rb 11.1 KB