Skip to content

Commit 9901580

Browse files
author
Bibek Shrestha
committed
time for rendering failure increased to 10s
1 parent 8c244b7 commit 9901580

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/leetcode.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ const loader = setInterval(() => {
552552
}, 1000);
553553

554554
/* Since we dont yet have callbacks/promises that helps to find out if things went bad */
555-
/* we will start 6 seconds counter and even after that upload is not complete, then we conclude its failed */
555+
/* we will start 10 seconds counter and even after that upload is not complete, then we conclude its failed */
556556
function startUploadCountDown() {
557557
uploadState.uploading = true;
558558
uploadState['countdown'] = setTimeout(() => {
@@ -561,7 +561,7 @@ function startUploadCountDown() {
561561
uploadState.uploading = false;
562562
markUploadFailed();
563563
}
564-
}, 6000);
564+
}, 10000);
565565
}
566566
/* start upload will inject a spinner on left side to the "Run Code" button */
567567
function startUpload() {

0 commit comments

Comments
 (0)