Commits

Sebastian Sdorra  committed 487fe46

set thread name prefix

  • Participants
  • Parent commits eab3206

Comments (0)

Files changed (1)

File src/main/java/sonia/scm/scheduler/internal/ScmThreadPool.java

  */
 
 
+
 package sonia.scm.scheduler.internal;
 
 //~--- non-JDK imports --------------------------------------------------------
   private static final String SYSTEM_ACCOUNT =
     "/sonia/scm/web/security/system-account.xml";
 
+  /** Field description */
+  private static final String THREADNAME_PREFIX = "ScmScheduler";
+
   //~--- constructors ---------------------------------------------------------
 
   /**
     Provider<org.apache.shiro.mgt.SecurityManager> securityManagerProvider)
   {
     super(4, Thread.NORM_PRIORITY);
+    setThreadNamePrefix(THREADNAME_PREFIX);
     this.securityManagerProvider = securityManagerProvider;
 
     URL url = ScmThreadPool.class.getResource(SYSTEM_ACCOUNT);