Skip to content

Commit

Permalink
TEMP-- monix bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alextheimer committed Dec 6, 2021
1 parent 418eeda commit c98ee1e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}

/**
Expand Down

0 comments on commit c98ee1e

Please sign in to comment.