Skip to content

Commit 1e1889f

Browse files
authored
LB-1927: allow history importer to accept bigger files (#3572)
* LB-1927: allow history importer to accept bigger files Signed-off-by: Parvm1102 <parvmittal31757@gmail.com> * reverted MAX_CONTENT_LENGTH to 25MB applied suggestions --------- Signed-off-by: Parvm1102 <parvmittal31757@gmail.com>
1 parent 446c406 commit 1e1889f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

consul_config.py.ctmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ PLAYING_NOW_MAX_DURATION = 10 * 60
200200

201201
# MAX file size to be allowed for file uploads, default is infinite
202202
# Size is in bytes
203-
MAX_CONTENT_LENGTH = 25 * 1024 * 1024 # 25MB
203+
MAX_CONTENT_LENGTH = 200 * 1024 * 1024 + 10 # 200MB plus some buffer
204204

205205
# Specify the upload folder where user uploaded files for import will be stored
206206
# The path must be absolute path

0 commit comments

Comments
 (0)