void () { if (myPeriodicalUpdater == null && shouldCheckIncoming()) { updateBranchesWithIncoming(true); int timeout = Registry.intValue("git.update.incoming.info.time"); myPeriodicalUpdater = JobScheduler.getScheduler().scheduleWithFixedDelay(() -> updateBranchesWithIncoming(true), timeout, timeout, TimeUnit.MINUTES); } else if (myPeriodicalUpdater != null && !shouldCheckIncoming()) { stopScheduling(); } }