mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-08 06:25:45 +01:00
set name for template threads
This commit is contained in:
@@ -92,7 +92,8 @@ public class MustacheTemplateEngine implements TemplateEngine
|
|||||||
ThreadFactory threadFactory =
|
ThreadFactory threadFactory =
|
||||||
new ThreadFactoryBuilder().setNameFormat(THREAD_NAME).build();
|
new ThreadFactoryBuilder().setNameFormat(THREAD_NAME).build();
|
||||||
|
|
||||||
factory.setExecutorService(Executors.newCachedThreadPool(threadFactory));
|
factory.setExecutorService(Executors.
|
||||||
|
newCachedThreadPool(threadFactory));
|
||||||
}
|
}
|
||||||
|
|
||||||
//~--- get methods ----------------------------------------------------------
|
//~--- get methods ----------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user