curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swankjesse <...@git.apache.org>
Subject [GitHub] curator pull request: Use Curator in thread names.
Date Mon, 05 Jan 2015 20:18:25 GMT
Github user swankjesse commented on a diff in the pull request:

    https://github.com/apache/curator/pull/60#discussion_r22486680
  
    --- Diff: curator-framework/src/main/java/org/apache/curator/framework/imps/CuratorTempFrameworkImpl.java
---
    @@ -98,7 +99,15 @@ private synchronized void openConnectionIfNeeded() throws Exception
             if ( cleanup == null )
             {
                 ThreadFactory threadFactory = factory.getThreadFactory();
    -            cleanup = (threadFactory != null) ? Executors.newScheduledThreadPool(1, threadFactory)
: Executors.newScheduledThreadPool(1);
    +
    --- End diff --
    
    No. The existing ThreadUtils factory only builds daemon threads.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message