Removing unnecessary code
This commit is contained in:
parent
15c45d2029
commit
b7a5d7968b
1 changed files with 1 additions and 6 deletions
|
|
@ -348,12 +348,7 @@ public class Scheduler implements Runnable {
|
|||
log.info("Skipping shard sync per configuration setting (and lease table is not empty)");
|
||||
}
|
||||
|
||||
if (!leaseCleanupManager.isRunning()) {
|
||||
log.info("Starting LeaseCleanupManager.");
|
||||
leaseCleanupManager.start();
|
||||
} else {
|
||||
log.info("LeaseCleanupManager is already running. No need to start it");
|
||||
}
|
||||
leaseCleanupManager.start();
|
||||
|
||||
// If we reach this point, then we either skipped the lease sync or did not have any exception
|
||||
// for any of the shard sync in the previous attempt.
|
||||
|
|
|
|||
Loading…
Reference in a new issue