File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
api/src/main/java/brainwine/api Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 1111import brainwine .api .config .ApiConfig ;
1212import brainwine .api .config .NewsEntry ;
1313import brainwine .shared .JsonHelper ;
14+ import io .javalin .core .LoomUtil ;
1415
1516public class Api {
1617
@@ -31,6 +32,7 @@ public Api(DataFetcher dataFetcher) {
3132 logger .info (SERVER_MARKER , "Using data fetcher {}" , dataFetcher .getClass ().getName ());
3233 logger .info (SERVER_MARKER , "Loading configuration ..." );
3334 config = loadConfig ();
35+ LoomUtil .useLoomThreadPool = false ;
3436 gatewayService = new GatewayService (this , config .getGatewayPort ());
3537 portalService = new PortalService (this , config .getPortalPort ());
3638 logger .info (SERVER_MARKER , "All done! API startup took {} milliseconds" , System .currentTimeMillis () - startTime );
You can’t perform that action at this time.
0 commit comments