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:
[email protected]
With regards,
Apache Git Services