On Fri, 4 Nov 2016 14:27:44 +0100
Pierre-Yves Chibon <pingou(a)pingoured.fr> wrote:
> Good Morning Everyone,
> The design folks have asked if we could bump the maximum size allowed
> when uploading content to pagure.
> It is currently of 4MB and they are asking if we could bump it to
> ref: https://pagure.io/fedora-infrastructure/issue/5555
> It is a simple configuration change that looks like this:
> diff --git a/ roles/pagure/frontend/templates/pagure.cfg b/
> roles/pagure/frontend/templates/pagure.cfg index 227813d..eb3ed92
> 100644 --- a/ roles/pagure/frontend/templates/pagure.cfg
> +++ b/ roles/pagure/frontend/templates/pagure.cfg
> @@ -143,7 +143,7 @@ ITEM_PER_PAGE = 50
> ### Maximum size of the uploaded content
> # Used to limit the size of file attached to a ticket for example
> -MAX_CONTENT_LENGTH = 4 * 1024 * 1024 # 4 megabytes
> +MAX_CONTENT_LENGTH = 50 * 1024 * 1024 # 4 megabytes
> ### Lenght for short commits ids or file hex
> SHORT_LENGTH = 7
> I would like to ask if I can apply this change, deploy it and restart
> apache on pagure01.
+1 here. If it turns out to be a problem we can change it back down.