forked from Qortal/qortal
ArbitraryDataBuildManager renamed to ArbitraryDataBuilderThread, as we will likely want to run multiple instances of this when we scale up.
This commit is contained in:
parent
ede4802ceb
commit
3a51be3430
@ -11,11 +11,11 @@ import java.io.IOException;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
public class ArbitraryDataBuildManager implements Runnable {
|
||||
public class ArbitraryDataBuilderThread implements Runnable {
|
||||
|
||||
private static final Logger LOGGER = LogManager.getLogger(ArbitraryDataBuildManager.class);
|
||||
private static final Logger LOGGER = LogManager.getLogger(ArbitraryDataBuilderThread.class);
|
||||
|
||||
public ArbitraryDataBuildManager() {
|
||||
public ArbitraryDataBuilderThread() {
|
||||
|
||||
}
|
||||
|
@ -106,7 +106,7 @@ public class ArbitraryDataManager extends Thread {
|
||||
// Use a fixed thread pool to execute the arbitrary data build actions (currently just a single thread)
|
||||
// This can be expanded to have multiple threads processing the build queue when needed
|
||||
ExecutorService arbitraryDataBuildExecutor = Executors.newFixedThreadPool(1);
|
||||
arbitraryDataBuildExecutor.execute(new ArbitraryDataBuildManager());
|
||||
arbitraryDataBuildExecutor.execute(new ArbitraryDataBuilderThread());
|
||||
|
||||
// Keep a reference to the storage manager as we will need this a lot
|
||||
ArbitraryDataStorageManager storageManager = ArbitraryDataStorageManager.getInstance();
|
||||
|
Loading…
Reference in New Issue
Block a user