Boost loading testcases speed and increase submission limit

This commit is contained in:
cuom1999 2020-09-27 01:56:48 -05:00
parent c3eb8eed9b
commit 37f8675f06
2 changed files with 9 additions and 4 deletions

View file

@ -67,7 +67,7 @@ DMOJ_EMAIL_THROTTLING = (10, 60)
DMOJ_STATS_LANGUAGE_THRESHOLD = 10
DMOJ_SUBMISSIONS_REJUDGE_LIMIT = 10
# Maximum number of submissions a single user can queue without the `spam_submission` permission
DMOJ_SUBMISSION_LIMIT = 2
DMOJ_SUBMISSION_LIMIT = 3
DMOJ_BLOG_NEW_PROBLEM_COUNT = 7
DMOJ_BLOG_RECENTLY_ATTEMPTED_PROBLEMS_COUNT = 7
DMOJ_TOTP_TOLERANCE_HALF_MINUTES = 1
@ -500,7 +500,7 @@ try:
except IOError:
pass
TESTCASE_VISIBLE_LENGTH = 60
TESTCASE_VISIBLE_LENGTH = 64
DATA_UPLOAD_MAX_NUMBER_FIELDS = 10240
DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440