You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/09/25 08:56:40 UTC

[GitHub] [flink] tillrohrmann commented on a change in pull request #9753: [FLINK-14180][runtime]Enable config of maximum capacity of FileArchivedExecutionGraphStore.

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:
users@infra.apache.org


With regards,
Apache Git Services