mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-06-19 07:11:02 +00:00
Predict pregen better
This commit is contained in:
@@ -111,8 +111,7 @@ public class IrisPregenerator {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private long computeETA() {
|
private long computeETA() {
|
||||||
return (long) ((totalChunks.get() - generated.get()) *
|
return (long) ((totalChunks.get() - generated.get()) / chunksPerSecond.getAverage()) * 1000;
|
||||||
((double) (M.ms() - startTime.get()) / (double) generated.get()));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void close() {
|
public void close() {
|
||||||
|
|||||||
Reference in New Issue
Block a user