mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-05-28 04:20:19 +02:00
5.59
-Progress/speed meter accuracy improved.
This commit is contained in:
parent
e92cc44c8c
commit
11d1022346
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.tonikelope</groupId>
|
||||
<artifactId>MegaBasterd</artifactId>
|
||||
<version>5.58</version>
|
||||
<version>5.59</version>
|
||||
<packaging>jar</packaging>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
@ -47,7 +47,7 @@ import java.io.File;
|
||||
*/
|
||||
public final class MainPanel {
|
||||
|
||||
public static final String VERSION = "5.58";
|
||||
public static final String VERSION = "5.59";
|
||||
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
||||
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
||||
public static final int STREAMER_PORT = 1337;
|
||||
|
@ -67,10 +67,9 @@ public final class ProgressMeter implements Runnable, SecureSingleThreadNotifiab
|
||||
|
||||
while ((reads = _transference.getPartialProgress().poll()) != null) {
|
||||
_progress += reads;
|
||||
_transference.setProgress(_progress);
|
||||
}
|
||||
|
||||
_transference.setProgress(_progress);
|
||||
|
||||
if (!_exit) {
|
||||
secureWait();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user