Skip to content
Merged
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
6 changes: 6 additions & 0 deletions cds_ils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,3 +798,9 @@ def query_params_modifier(extra_params):

# Feature Toggles
ILS_SELF_CHECKOUT_ENABLED = True

# Enable for local dev to stop CSRF token error
# REST_CSRF_ENABLED = False

# Enable larger file uploads for importer - 1GiB
MAX_CONTENT_LENGTH = 1000 * 1024 * 1024

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you cross-check with nginx config in https://gitlab.cern.ch/cds-team/cds-ils-openshift/? if it allows to upload such a big file?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made a pr to update it in the nginx config here https://gitlab.cern.ch/cds-team/cds-ils-openshift/-/merge_requests/28

For reference the file size in the issue was 170MB so I thought 1GB was a safe value.

Loading