Projet

Général

Profil

0001-debian-allow-very-big-DATA_UPLOAD_MAX_MEMORY_SIZE-69.patch

Thomas Noël, 22 novembre 2022 14:24

Télécharger (976 octets)

Voir les différences:

Subject: [PATCH] debian: allow very big 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 < 50_000_000:
297
    DATA_UPLOAD_MAX_MEMORY_SIZE = 50_000_000
297 298

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