Merge lp:~cjwatson/launchpad/prf-size-1gib into lp:launchpad

Proposed by Colin Watson
Status: Merged
Merged at revision: 17660
Proposed branch: lp:~cjwatson/launchpad/prf-size-1gib
Merge into: lp:launchpad
Diff against target: 27 lines (+3/-3)
2 files modified
lib/lp/registry/stories/product/xx-product-files.txt (+1/-1)
lib/lp/services/config/schema-lazr.conf (+2/-2)
To merge this branch: bzr merge lp:~cjwatson/launchpad/prf-size-1gib
Reviewer Review Type Date Requested Status
William Grant code Approve
Review via email: mp+266688@code.launchpad.net

Commit message

Bump max_productrelease_file_size to 1GiB.

Description of the change

Bump max_productrelease_file_size to 1GiB. Hopefully this won't result in upload timeouts.

To post a comment you must log in.
Revision history for this message
William Grant (wgrant) :
review: Approve (code)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/lp/registry/stories/product/xx-product-files.txt'
2--- lib/lp/registry/stories/product/xx-product-files.txt 2014-11-27 07:48:25 +0000
3+++ lib/lp/registry/stories/product/xx-product-files.txt 2015-08-03 08:21:42 +0000
4@@ -220,7 +220,7 @@
5 >>> content = find_main_content(firefox_owner.contents)
6 >>> print content
7 <...
8- ...You may upload files up to 200.0 MiB...
9+ ...You may upload files up to 1.0 GiB...
10
11 Create a file to upload, and upload it. We'll also upload a dummy signature.
12 Uploading file signatures is optional, so we'll just try it this once.
13
14=== modified file 'lib/lp/services/config/schema-lazr.conf'
15--- lib/lp/services/config/schema-lazr.conf 2015-07-02 07:09:25 +0000
16+++ lib/lp/services/config/schema-lazr.conf 2015-08-03 08:21:42 +0000
17@@ -879,8 +879,8 @@
18 # Maximum size of product release download files in bytes. A value
19 # of 0 means no limit.
20 # datatype: integer
21-# 200MiB
22-max_productrelease_file_size: 209715200
23+# 1GiB
24+max_productrelease_file_size: 1073741824
25
26 # Maximum size of a product release download file signature in bytes.
27 # A value of 0 means no limit.