FossilRepo
Increase upload limit to 2GB for large repos
Commit
6e2907cd95b6cf441092f19eaa46360fc981065ce40fa5a0782d0d0b79ffbdc7
Parent
7a60a24c4164f1d…
1 file changed
+1
-1
+1
-1
| --- config/settings.py | ||
| +++ config/settings.py | ||
| @@ -66,11 +66,11 @@ | ||
| 66 | 66 | "fossil", |
| 67 | 67 | "testdata", |
| 68 | 68 | ] |
| 69 | 69 | |
| 70 | 70 | # Fossil sync pushes can be large (binary artifacts, images, etc.) |
| 71 | -DATA_UPLOAD_MAX_MEMORY_SIZE = 100 * 1024 * 1024 # 100 MB | |
| 71 | +DATA_UPLOAD_MAX_MEMORY_SIZE = 2 * 1024 * 1024 * 1024 # 2 GB | |
| 72 | 72 | |
| 73 | 73 | MIDDLEWARE = [ |
| 74 | 74 | "corsheaders.middleware.CorsMiddleware", |
| 75 | 75 | "django.middleware.security.SecurityMiddleware", |
| 76 | 76 | "whitenoise.middleware.WhiteNoiseMiddleware", |
| 77 | 77 |
| --- config/settings.py | |
| +++ config/settings.py | |
| @@ -66,11 +66,11 @@ | |
| 66 | "fossil", |
| 67 | "testdata", |
| 68 | ] |
| 69 | |
| 70 | # Fossil sync pushes can be large (binary artifacts, images, etc.) |
| 71 | DATA_UPLOAD_MAX_MEMORY_SIZE = 100 * 1024 * 1024 # 100 MB |
| 72 | |
| 73 | MIDDLEWARE = [ |
| 74 | "corsheaders.middleware.CorsMiddleware", |
| 75 | "django.middleware.security.SecurityMiddleware", |
| 76 | "whitenoise.middleware.WhiteNoiseMiddleware", |
| 77 |
| --- config/settings.py | |
| +++ config/settings.py | |
| @@ -66,11 +66,11 @@ | |
| 66 | "fossil", |
| 67 | "testdata", |
| 68 | ] |
| 69 | |
| 70 | # Fossil sync pushes can be large (binary artifacts, images, etc.) |
| 71 | DATA_UPLOAD_MAX_MEMORY_SIZE = 2 * 1024 * 1024 * 1024 # 2 GB |
| 72 | |
| 73 | MIDDLEWARE = [ |
| 74 | "corsheaders.middleware.CorsMiddleware", |
| 75 | "django.middleware.security.SecurityMiddleware", |
| 76 | "whitenoise.middleware.WhiteNoiseMiddleware", |
| 77 |