mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-05-29 13:00:15 +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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.tonikelope</groupId>
|
<groupId>com.tonikelope</groupId>
|
||||||
<artifactId>MegaBasterd</artifactId>
|
<artifactId>MegaBasterd</artifactId>
|
||||||
<version>5.58</version>
|
<version>5.59</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -47,7 +47,7 @@ import java.io.File;
|
|||||||
*/
|
*/
|
||||||
public final class MainPanel {
|
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 THROTTLE_SLICE_SIZE = 16 * 1024;
|
||||||
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
||||||
public static final int STREAMER_PORT = 1337;
|
public static final int STREAMER_PORT = 1337;
|
||||||
|
@ -67,10 +67,9 @@ public final class ProgressMeter implements Runnable, SecureSingleThreadNotifiab
|
|||||||
|
|
||||||
while ((reads = _transference.getPartialProgress().poll()) != null) {
|
while ((reads = _transference.getPartialProgress().poll()) != null) {
|
||||||
_progress += reads;
|
_progress += reads;
|
||||||
|
_transference.setProgress(_progress);
|
||||||
}
|
}
|
||||||
|
|
||||||
_transference.setProgress(_progress);
|
|
||||||
|
|
||||||
if (!_exit) {
|
if (!_exit) {
|
||||||
secureWait();
|
secureWait();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user