Don't let the server wait for the interpretation to finish
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
3a8a8d9458
commit
bba4c15692
@ -152,8 +152,11 @@ public class sigServer {
|
|||||||
} else {
|
} else {
|
||||||
System.out.println("Saving upload to "+myFile);
|
System.out.println("Saving upload to "+myFile);
|
||||||
if (filename.contains(".png")) {
|
if (filename.contains(".png")) {
|
||||||
|
in.close();
|
||||||
|
CreateRequest(client,"200","OK",Paths.get(sigPlace.OUTDIR,"testfile.html"));
|
||||||
ArcadeReader.submitToDatabase(Paths.get(sigPlace.ARCADEDIR,filename));
|
ArcadeReader.submitToDatabase(Paths.get(sigPlace.ARCADEDIR,filename));
|
||||||
System.out.println("Submitted to the database!");
|
System.out.println("Submitted to the database!");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
filename=null;
|
filename=null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user