Skip to content
This repository was archived by the owner on Mar 28, 2019. It is now read-only.

Commit a4ff026

Browse files
committed
Revert "Codejudge Compiler server now sends status code for a timeout"
This reverts commit 0bbe68d.
1 parent 0bbe68d commit a4ff026

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

codejudge-compiler/src/codejudge/compiler/RequestThread.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ else if(lang.equals("python"))
6767
if(!errors.equals("")) { // check for compilation errors
6868
out.println("0");
6969
out.println(errors);
70-
} else if(l.timedout)
71-
out.println("2");
72-
else {
70+
} else {
7371
// execute the program and return output
7472
l.execute();
7573
out.println("1");

0 commit comments

Comments
 (0)