debian: do not overwrite existing DATA_UPLOAD_MAX_MEMORY_SIZE (#69604)
for example for Passerelle, where DATA_UPLOAD_MAX_MEMORY_SIZE = 100 * 1024 * 1024
This commit is contained in:
parent
92cdad5f8c
commit
8d3d8a7db1
|
@ -293,7 +293,8 @@ if 'authentic2' in INSTALLED_APPS:
|
|||
MIDDLEWARE = MIDDLEWARE + ('hobo.agent.authentic2.middleware.ProvisionningMiddleware',)
|
||||
|
||||
# Allow big provisionning messages
|
||||
DATA_UPLOAD_MAX_MEMORY_SIZE = 50_000_000
|
||||
if 'DATA_UPLOAD_MAX_MEMORY_SIZE' not in globals():
|
||||
DATA_UPLOAD_MAX_MEMORY_SIZE = 50_000_000
|
||||
|
||||
if PROJECT_NAME != 'wcs':
|
||||
# multitenant adaptations
|
||||
|
|
Loading…
Reference in New Issue