Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudy De Busscher authored and dmatej committed Jan 9, 2020
1 parent 5033d8e commit 6137f3b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ public class JobCleanUpService implements PostConstruct,ConfigListener {

@Inject
Domain domain;

@Inject
private ProcessEnvironment processEnv;

private ManagedJobConfig managedJobConfig;

private final static Logger logger = KernelLoggerInfo.getLogger();
Expand All @@ -98,13 +98,13 @@ public class JobCleanUpService implements PostConstruct,ConfigListener {

@Override
public void postConstruct() {
logger.log(Level.FINE,KernelLoggerInfo.initializingJobCleanup);

if (Version.getFullVersion().contains("Micro")) {
//if Micro we don't have any jobs to cleanup
return;
}

logger.log(Level.FINE,KernelLoggerInfo.initializingJobCleanup);

scheduler = Executors.newScheduledThreadPool(10, new ThreadFactory() {
@Override
public Thread newThread(Runnable r) {
Expand Down

0 comments on commit 6137f3b

Please sign in to comment.