mirror of
https://github.com/Qortal/qortal.git
synced 2025-02-12 18:25:49 +00:00
Removed accidentally duplicated code
This was causing two instances of the build manager to run.
This commit is contained in:
parent
095083bcfb
commit
b2c0915a71
@ -69,11 +69,6 @@ public class ArbitraryDataCleanupManager extends Thread {
|
|||||||
public void run() {
|
public void run() {
|
||||||
Thread.currentThread().setName("Arbitrary Data Cleanup Manager");
|
Thread.currentThread().setName("Arbitrary Data Cleanup Manager");
|
||||||
|
|
||||||
// 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());
|
|
||||||
|
|
||||||
// Paginate queries when fetching arbitrary transactions
|
// Paginate queries when fetching arbitrary transactions
|
||||||
final int limit = 100;
|
final int limit = 100;
|
||||||
int offset = 0;
|
int offset = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user