Don't let the server wait for the interpretation to finish

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2 2 years ago
parent 3a8a8d9458
commit bba4c15692
  1. 3
      sigServer.java

@ -152,8 +152,11 @@ public class sigServer {
} else {
System.out.println("Saving upload to "+myFile);
if (filename.contains(".png")) {
in.close();
CreateRequest(client,"200","OK",Paths.get(sigPlace.OUTDIR,"testfile.html"));
ArcadeReader.submitToDatabase(Paths.get(sigPlace.ARCADEDIR,filename));
System.out.println("Submitted to the database!");
return;
}
}
filename=null;

Loading…
Cancel
Save