the shared executor param should be true if using the singleton thread pool

Reviewed-by: batsatt
This commit is contained in:
akhil 2014-02-07 11:35:09 -08:00
parent 525ddfef7d
commit 035403695f
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ public final class Server {
final Loader loader,
final Logging logging,
final String workDir) throws Exception {
this(engine, loader, logging, workDir, engine.getContext(), 0, ThreadPool.getInstance(), false);
this(engine, loader, logging, workDir, engine.getContext(), 0, ThreadPool.getInstance(), true);
}
public Server(final ScriptEngine engine,