Projet

Général

Profil

0001-debian-do-not-overwrite-existing-DATA_UPLOAD_MAX_MEM.patch

Thomas Noël, 22 novembre 2022 15:08

Télécharger (994 octets)

Voir les différences:

Subject: [PATCH] debian: do not overwrite existing DATA_UPLOAD_MAX_MEMORY_SIZE
 (#69604)

for example for Passerelle, where DATA_UPLOAD_MAX_MEMORY_SIZE = 100 * 1024 * 1024
 debian/debian_config_common.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
debian/debian_config_common.py
293 293
    MIDDLEWARE = MIDDLEWARE + ('hobo.agent.authentic2.middleware.ProvisionningMiddleware',)
294 294

  
295 295
# Allow big provisionning messages
296
DATA_UPLOAD_MAX_MEMORY_SIZE = 50_000_000
296
if 'DATA_UPLOAD_MAX_MEMORY_SIZE' not in globals():
297
    DATA_UPLOAD_MAX_MEMORY_SIZE = 50_000_000
297 298

  
298 299
if PROJECT_NAME != 'wcs':
299 300
    # multitenant adaptations
300
-