SUPPORT-8696: Fix
This commit is contained in:
parent
318152c59b
commit
3916037329
1 changed files with 1 additions and 3 deletions
|
|
@ -29,9 +29,7 @@ public class ErvuDirectoriesUpdateShedulerService {
|
|||
@PostConstruct
|
||||
public void init() {
|
||||
if (!cronLoad.equals(CRON_DISABLED)) {
|
||||
ExecutorService executor = Executors.newSingleThreadExecutor();
|
||||
executor.execute(this::run);
|
||||
executor.shutdown();
|
||||
new Thread(this::run).start();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue