From a57e6b771a5a73dc1c49c300027b52a5b9fefb99 Mon Sep 17 00:00:00 2001 From: Alex Theimer Date: Mon, 6 Dec 2021 18:45:52 -0500 Subject: [PATCH] TEMP-- note added --- .../scala/filodb.coordinator/TenantIngestionMetering.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/coordinator/src/main/scala/filodb.coordinator/TenantIngestionMetering.scala b/coordinator/src/main/scala/filodb.coordinator/TenantIngestionMetering.scala index dd356dcfcc..0f02fd3383 100644 --- a/coordinator/src/main/scala/filodb.coordinator/TenantIngestionMetering.scala +++ b/coordinator/src/main/scala/filodb.coordinator/TenantIngestionMetering.scala @@ -43,6 +43,9 @@ case class TenantIngestionMetering(settings: FilodbSettings, private val METRIC_TOTAL = "total_timeseries_by_tenant" def schedulePeriodicPublishJob() : Unit = { + // NOTE: the FiniteDuration overload of scheduleWithFixedDelay + // does not work. Unsure why, but that's why these FiniteDurations are + // awkwardly parsed into seconds. scheduler.scheduleWithFixedDelay( SCHED_INIT_DELAY.toSeconds, SCHED_DELAY.toSeconds,