diff --git a/coordinator/src/main/scala/filodb.coordinator/TenantIngestionMetering.scala b/coordinator/src/main/scala/filodb.coordinator/TenantIngestionMetering.scala index 2c73fc4a1c..dd356dcfcc 100644 --- a/coordinator/src/main/scala/filodb.coordinator/TenantIngestionMetering.scala +++ b/coordinator/src/main/scala/filodb.coordinator/TenantIngestionMetering.scala @@ -44,8 +44,10 @@ case class TenantIngestionMetering(settings: FilodbSettings, def schedulePeriodicPublishJob() : Unit = { scheduler.scheduleWithFixedDelay( - SCHED_INIT_DELAY, - SCHED_DELAY)(() => queryAndSchedulePublish()) + SCHED_INIT_DELAY.toSeconds, + SCHED_DELAY.toSeconds, + TimeUnit.SECONDS, + () => queryAndSchedulePublish()) } /**