mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-22 19:49:32 +00:00
do not log batch processing 0 mailbox entries
This commit is contained in:
parent
332da7535d
commit
6ed969addc
1 changed files with 5 additions and 3 deletions
|
@ -414,9 +414,11 @@ public class MailboxMessageService implements HashMapChangedListener, PersistedD
|
||||||
new Thread(() -> {
|
new Thread(() -> {
|
||||||
try {
|
try {
|
||||||
var mailboxItems = getMailboxItems(protectedMailboxStorageEntries);
|
var mailboxItems = getMailboxItems(protectedMailboxStorageEntries);
|
||||||
log.info("Batch processing of {} mailbox entries took {} ms",
|
|
||||||
protectedMailboxStorageEntries.size(),
|
if (!protectedMailboxStorageEntries.isEmpty())
|
||||||
System.currentTimeMillis() - ts);
|
log.info("Batch processing of {} mailbox entries took {} ms",
|
||||||
|
protectedMailboxStorageEntries.size(),
|
||||||
|
System.currentTimeMillis() - ts);
|
||||||
future.set(mailboxItems);
|
future.set(mailboxItems);
|
||||||
|
|
||||||
} catch (Throwable throwable) {
|
} catch (Throwable throwable) {
|
||||||
|
|
Loading…
Reference in a new issue