tillrohrmann commented on a change in pull request #9753: 
[FLINK-14180][runtime]Enable config of maximum capacity of 
FileArchivedExecutionGraphStore.
URL: https://github.com/apache/flink/pull/9753#discussion_r328001615
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/dispatcher/FileArchivedExecutionGraphStore.java
 ##########
 @@ -102,6 +103,7 @@ public FileArchivedExecutionGraphStore(
                        "The storage directory must exist and be a directory.");
                this.jobDetailsCache = CacheBuilder.newBuilder()
                        .expireAfterWrite(expirationTime.toMilliseconds(), 
TimeUnit.MILLISECONDS)
+                       .maximumSize(maximumCapacity)
 
 Review comment:
   I think the int value range should be big enough. If this should become a 
problem we can change it later.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to