Skip to content

Commit

Permalink
[HWKMETRICS-648] fix another variable renaming from IDE refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
John Sanda committed Apr 20, 2017
1 parent 45f64c7 commit 9e5d47d
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -154,13 +154,13 @@ private void maybeScheduleCompressData(List<JobDetails> backgroundJobs) {
long nextStart = LocalDateTime.now(ZoneOffset.UTC)
.with(DateTimeService.startOfNextOddHour())
.toInstant(ZoneOffset.UTC).toEpochMilli();
JobDetails JobDetails = scheduler.scheduleJob(CompressData.JOB_NAME, CompressData.JOB_NAME,
JobDetails jobDetails = scheduler.scheduleJob(CompressData.JOB_NAME, CompressData.JOB_NAME,
ImmutableMap.of(), new RepeatingTrigger.Builder().withTriggerTime(nextStart)
.withInterval(2, TimeUnit.HOURS).build()).toBlocking().value();
backgroundJobs.add(JobDetails);
configurationService.save(configId, "jobId", JobDetails.getJobId().toString()).toBlocking();
backgroundJobs.add(jobDetails);
configurationService.save(configId, "jobId", jobDetails.getJobId().toString()).toBlocking();

logger.info("Created and scheduled " + JobDetails);
logger.info("Created and scheduled " + jobDetails);
}
}

Expand Down

0 comments on commit 9e5d47d

Please sign in to comment.