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 {
|
||||
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…
x
Reference in New Issue
Block a user