Merge branch 'main' of gitlab.com:distant-horizons-team/distant-horizons-core
This commit is contained in:
@@ -85,7 +85,7 @@ public class PregenManager
|
||||
private final AtomicInteger nextSectionSpiralIndex = new AtomicInteger(0);
|
||||
|
||||
private final AtomicLong lastTaskFinishTime = new AtomicLong(System.currentTimeMillis());
|
||||
private final RollingAverage averageTaskCompletionIntervalMs = new RollingAverage(200);
|
||||
private final RollingAverage averageTaskCompletionIntervalMs = new RollingAverage(1000);
|
||||
|
||||
private final AtomicLong lastLogTime = new AtomicLong();
|
||||
|
||||
|
||||
@@ -222,7 +222,7 @@ public class WorldGenModule implements Closeable
|
||||
{
|
||||
public IFullDataSourceRetrievalQueue worldGenerationQueue;
|
||||
|
||||
private static final ThreadPoolExecutor PROGRESS_UPDATER_THREAD = ThreadUtil.makeSingleThreadPool("World Gen Progress Updater");
|
||||
private static final ThreadPoolExecutor PROGRESS_UPDATER_THREAD = ThreadUtil.makeSingleDaemonThreadPool("World Gen Progress Updater");
|
||||
private boolean progressUpdateThreadRunning = false;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user