[bisq-network/bisq] Persistence redesign (#4589)
chimp1984
notifications at github.com
Sun Oct 4 17:55:10 UTC 2020
@chimp1984 commented on this pull request.
> + }
+ return null;
+ }
+
+
+ ///////////////////////////////////////////////////////////////////////////////////////////
+ // Write file to disk
+ ///////////////////////////////////////////////////////////////////////////////////////////
+
+ public void requestPersistence() {
+ persistenceRequested = true;
+
+ // We write to disk with a delay to avoid frequent write operations. Depending on the priority those delays
+ // can be rather long.
+ if (timer == null) {
+ timer = UserThread.runPeriodically(() -> {
Yes was from earlier version, should be runAfter.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4589#discussion_r499271738
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201004/814df87f/attachment-0001.html>
More information about the bisq-github
mailing list