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/24 07:53:56 UTC

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

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

 ##########
 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:
   Since the type of the origin parameter is `long`, we could change it accordingly.

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