mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-12-17 16:54:13 -05:00
Show progress of direct sent messages in network stress test
This commit is contained in:
parent
7b0834e3b8
commit
3a9b2dd932
1 changed files with 2 additions and 2 deletions
|
|
@ -309,13 +309,13 @@ public class NetworkStressTest {
|
||||||
@Override
|
@Override
|
||||||
public void onArrived() {
|
public void onArrived() {
|
||||||
sentDelays.add(System.currentTimeMillis() - sendMillis);
|
sentDelays.add(System.currentTimeMillis() - sendMillis);
|
||||||
sentDirectLatch.countDown();
|
countDownAndPrint(sentDirectLatch, 'd');
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onFault() {
|
public void onFault() {
|
||||||
sentDirectFailed.set(true);
|
sentDirectFailed.set(true);
|
||||||
sentDirectLatch.countDown();
|
countDownAndPrint(sentDirectLatch, 'd');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}, sendAfterMillis, TimeUnit.MILLISECONDS
|
}, sendAfterMillis, TimeUnit.MILLISECONDS
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue