Skip to content

Commit

Permalink
feat: increase the max length of judge log
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangt2333 committed Mar 1, 2024
1 parent ffd6052 commit 6bfa112
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@
@Slf4j
public abstract class AbstractSubmissionHandler {

protected static final int MAX_JUDGE_LOG = 60 * 1024;
/**
* 记得执行
* ALTER TABLE `oj_submission`
* MODIFY COLUMN `s_judge_log` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT '评测结果文案, 展示到前台' AFTER `s_code_length`;
*/
protected static final int MAX_JUDGE_LOG = 1024 * 1024;

@Autowired
protected JudgeTemplateClient judgeTemplateClient;
Expand Down

0 comments on commit 6bfa112

Please sign in to comment.