flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From StefanRRichter <...@git.apache.org>
Subject [GitHub] flink pull request #3290: [FLINK-5759] [jobmanager] Set UncaughtExceptionHan...
Date Fri, 10 Feb 2017 10:00:02 GMT
Github user StefanRRichter commented on a diff in the pull request:

    https://github.com/apache/flink/pull/3290#discussion_r100501680
  
    --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/filecache/FileCache.java
---
    @@ -99,7 +99,8 @@ public FileCache(String[] tempDirectories) throws IOException {
     		this.shutdownHook = createShutdownHook(this, LOG);
     
     		this.entries = new HashMap<JobID, Map<String, Tuple4<Integer, File, Path,
Future<Path>>>>();
    -		this.executorService = Executors.newScheduledThreadPool(10, ExecutorThreadFactory.INSTANCE);
    +		this.executorService = Executors.newScheduledThreadPool(10, 
    --- End diff --
    
    Is there any rational behind the magic number 10 or do we use this because it was 10 before?


---
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