diff --git a/src/main/java/com/shuzijun/leetcode/plugin/manager/CodeManager.java b/src/main/java/com/shuzijun/leetcode/plugin/manager/CodeManager.java index e72a5eae..68a81436 100644 --- a/src/main/java/com/shuzijun/leetcode/plugin/manager/CodeManager.java +++ b/src/main/java/com/shuzijun/leetcode/plugin/manager/CodeManager.java @@ -336,7 +336,7 @@ public SubmitCheckTask(JSONObject returnObj, CodeTypeEnum codeTypeEnum, Question @Override public void run(@NotNull ProgressIndicator progressIndicator) { String key = returnObj.getString("submission_id"); - for (int i = 0; i < 50; i++) { + for (int i = 0; i < 100; i++) { if(progressIndicator.isCanceled()){ MessageUtils.getInstance(project).showWarnMsg("error", PropertiesUtils.getInfo("request.cancel")); return; @@ -429,7 +429,7 @@ public void run(@NotNull ProgressIndicator progressIndicator) { if (StringUtils.isBlank(key)) { key = returnObj.getString("interpret_id"); } - for (int i = 0; i < 50; i++) { + for (int i = 0; i < 100; i++) { if(progressIndicator.isCanceled()){ MessageUtils.getInstance(project).showWarnMsg("error", PropertiesUtils.getInfo("request.cancel")); return;