Skip to content

Commit

Permalink
TEMP-- note added
Browse files Browse the repository at this point in the history
  • Loading branch information
alextheimer committed Dec 6, 2021
1 parent c98ee1e commit a57e6b7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a57e6b7

Please sign in to comment.