Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion geonode/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -2162,7 +2162,13 @@ def get_geonode_catalogue_service():
"django.core.files.uploadhandler.MemoryFileUploadHandler",
]

DEFAULT_MAX_UPLOAD_SIZE = 104857600 # 100 MB
# This setting is used only once during installation.
# Further adjustments need to be done using the admin WebUI:
#
# https://docs.geonode.org/en/5.0.x/admin/upload-size-limits/index.html#upload-size-limits
#
# 100MB
DEFAULT_MAX_UPLOAD_SIZE = int(os.getenv("DEFAULT_MAX_UPLOAD_SIZE") or 100 * 1024 * 1024)
DEFAULT_BUFFER_CHUNK_SIZE = int(os.getenv("DEFAULT_BUFFER_CHUNK_SIZE", 64 * 1024))
DEFAULT_MAX_PARALLEL_UPLOADS_PER_USER = int(os.getenv("DEFAULT_MAX_PARALLEL_UPLOADS_PER_USER", 5))

Expand Down
Loading