publish trade stat after random delay in ms

This commit is contained in:
woodser 2025-08-25 22:13:03 -04:00 committed by woodser
parent 19ee6d4343
commit 723d5cc1dd

View file

@ -2476,7 +2476,7 @@ public abstract class Trade extends XmrWalletBase implements Tradable, Model {
// publish after random delay within 24 hours
UserThread.runAfterRandomDelay(() -> {
if (!isShutDownStarted) doPublishTradeStatistics();
}, 0, 24, TimeUnit.HOURS);
}, 0, 24 * 60 * 60 * 1000, TimeUnit.MILLISECONDS);
}
}