Browse Source

track threads being used

lakebane-ai
FatBoy-DOTC 2 weeks ago
parent
commit
54a279c3e6
  1. 1
      src/engine/job/JobThread.java

1
src/engine/job/JobThread.java

@ -69,6 +69,7 @@ public class JobThread implements Runnable { @@ -69,6 +69,7 @@ public class JobThread implements Runnable {
int availableThreads = Runtime.getRuntime().availableProcessors();
// Print the count
if(threads.length > 30)
Logger.info("Total threads in application: " + threads.length + " / " + availableThreads);
}
}

Loading…
Cancel
Save