ArafatKhan2198 commented on code in PR #4880:
URL: https://github.com/apache/ozone/pull/4880#discussion_r1235309859
##########
hadoop-ozone/recon/src/main/java/org/apache/hadoop/ozone/recon/tasks/ReconTaskConfig.java:
##########
@@ -102,4 +102,22 @@ public void setContainerSizeCountTaskInterval(Duration
interval) {
this.containerSizeCountTaskInterval = interval.toMillis();
}
+ @Config(key = "scmtablecounttask.interval",
+ type = ConfigType.TIME,
+ defaultValue = "60s",
+ tags = { ConfigTag.RECON, ConfigTag.OZONE },
+ description = "The time interval to wait between each runs of " +
+ "SCM table count task."
+ )
+ private long scmTableCountTaskInterval =
+ Duration.ofMinutes(1).toMillis();
+
+ public Duration getScmTableCountTaskInterval() {
+ return Duration.ofMillis(scmTableCountTaskInterval);
+ }
+
+ public void setScmTableCountTaskInterval(Duration interval) {
Review Comment:
Done
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]