Skip to content

Commit

Permalink
gerrit: smaller upload limits
Browse files Browse the repository at this point in the history
Limit upload packs to 20MB, and limit to 10 changes/push.

Change-Id: I0d2fafc72cc68a3cddc78a7a6d11710bdedccc1d
  • Loading branch information
blblack committed Nov 15, 2016
1 parent c4e0466 commit 9e886b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/gerrit/templates/gerrit.config.erb
Expand Up @@ -186,7 +186,8 @@
maxSubjectLength = 100
maxLineLength = 120
[receive]
maxObjectSizeLimit = 100m
maxObjectSizeLimit = 20m
maxBatchChanges = 10
enableSignedPush = false
[changeCleanup]
# Not actually used, but Gerrit complains if unset
Expand Down

0 comments on commit 9e886b7

Please sign in to comment.