Skip to content

Commit

Permalink
fix: increase DATA_UPLOAD_MAX_MEMORY_SIZE to allow larger email impor…
Browse files Browse the repository at this point in the history
…ts (#3847)
  • Loading branch information
rpcross authored Oct 7, 2024
1 parent 31dedd6 commit f8842e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/mlarchive/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
CLOUDFLARE_AUTH_EMAIL=(str, ''),
CLOUDFLARE_AUTH_KEY=(str, ''),
CLOUDFLARE_ZONE_ID=(str, ''),
DATA_UPLOAD_MAX_MEMORY_SIZE=(int, 90000000),
DATA_ROOT=(str, '/data'),
DATABASES_NAME=(str, 'mailarch'),
DATABASES_USER=(str, 'mailarch'),
Expand Down Expand Up @@ -84,6 +85,7 @@
SECRET_KEY = env('SECRET_KEY')
ADMINS = getaddresses(env('ADMINS'))
ALLOWED_HOSTS = env('ALLOWED_HOSTS')
DATA_UPLOAD_MAX_MEMORY_SIZE = env('DATA_UPLOAD_MAX_MEMORY_SIZE')

DATABASES = {
'default': {
Expand Down

0 comments on commit f8842e5

Please sign in to comment.