Browse Source

[importer] increasing the value of DATA_UPLOAD_MAX_MEMORY_SIZE to 5MB as sometime request size > 2.5MB (default value) (#2966)

Ayush Goyal 3 năm trước cách đây
mục cha
commit
14801e7ae2
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      desktop/core/src/desktop/settings.py

+ 1 - 0
desktop/core/src/desktop/settings.py

@@ -117,6 +117,7 @@ USE_TZ = False
 # Examples: "http://media.lawrence.com/media/", "http://example.com/media/"
 MEDIA_URL = ''
 
+DATA_UPLOAD_MAX_MEMORY_SIZE = 5242880  # Setting this variable to 5MB as sometime request size > 2.5MB (default value)
 
 ############################################################
 # Part 3: Django configuration