Faidon Liambotis has submitted this change and it was merged.

Change subject: Increase max file size of url downloader proxy to 1010mb
......................................................................


Increase max file size of url downloader proxy to 1010mb

If you look at git show
b06baad758aca^:modules/url-downloader/files/copy-by-url-proxy.conf
you will notice a code comment saying make it slightly larger
than the max upload size. Since that time the max upload size has
increased to 1000mb, so increase this limit in turn.

Of course people trying to upload 1 gb big files may still run
into various timeouts.

Bug: 73200
Change-Id: Ib83d9dbfe87ea4e3d673b712aa3d8d3727c9ce36
---
M modules/url_downloader/templates/squid.conf.erb
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Faidon Liambotis: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/modules/url_downloader/templates/squid.conf.erb 
b/modules/url_downloader/templates/squid.conf.erb
index ed3c304..aabc11e 100644
--- a/modules/url_downloader/templates/squid.conf.erb
+++ b/modules/url_downloader/templates/squid.conf.erb
@@ -16,7 +16,7 @@
 acl everything src all
 cache deny everything
 acl apache rep_header Server ^Apache
-maximum_object_size 510 MB
+maximum_object_size 1010 MB
 cache_replacement_policy heap LFUDA
 access_log /var/log/<%= @package_name %>/access.log squid
 log_mime_hdrs on
@@ -78,11 +78,11 @@
 tcp_outgoing_address <%= @service_ip %>
 
 <%- if @package_name == 'squid' -%>
-reply_body_max_size 534773760 allow all
+reply_body_max_size 1059061760 allow all
 cache_dir null /tmp
 broken_vary_encoding allow apache
 <%- else -%>
-reply_body_max_size 510 MB all
+reply_body_max_size 1010 MB all
 <%- end -%>
 
 cache_mgr r...@wikimedia.org

-- 
To view, visit https://gerrit.wikimedia.org/r/172120
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib83d9dbfe87ea4e3d673b712aa3d8d3727c9ce36
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Brian Wolff <bawolff...@gmail.com>
Gerrit-Reviewer: Faidon Liambotis <fai...@wikimedia.org>
Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to