From 457a4de90b09ffedb8cf54e294401f225ac05fbe Mon Sep 17 00:00:00 2001 From: Andreas Buchen Date: Sun, 5 Nov 2017 17:52:51 +0100 Subject: [PATCH] Decrease the interval of updating current quotes due to Yahoo API changes --- .../src/name/abuchen/portfolio/ui/PortfolioPart.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/PortfolioPart.java b/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/PortfolioPart.java index ceb2c3199d..53c0190537 100644 --- a/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/PortfolioPart.java +++ b/name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/PortfolioPart.java @@ -562,9 +562,9 @@ private void scheduleOnlineUpdateJobs() checkInvestmentPlans.startAfter(initialQuoteUpdate); checkInvestmentPlans.schedule(1100); - int tenMinutes = 1000 * 60 * 10; - Job job = new UpdateQuotesJob(client, EnumSet.of(UpdateQuotesJob.Target.LATEST)).repeatEvery(tenMinutes); - job.schedule(tenMinutes); + int thirtyMinutes = 1000 * 60 * 30; + Job job = new UpdateQuotesJob(client, EnumSet.of(UpdateQuotesJob.Target.LATEST)).repeatEvery(thirtyMinutes); + job.schedule(thirtyMinutes); regularJobs.add(job); int sixHours = 1000 * 60 * 60 * 6;