[FBR] Bump upload size limitation in pagure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 50MB.

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.

Thoughts?

Thanks,
Pierre

Attachment: signature.asc
Description: PGP signature

_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux