[bisq-network/bisq] (3/8) [REFACTOR] P2PDataStore::add/remove/refresh (#3557)

Florian Reimair notifications at github.com
Fri Nov 15 14:57:54 UTC 2019


freimair approved this pull request.

utAck

>  
-            if (hasSequenceNrIncreased) {
-                sequenceNumberMap.put(hashOfPayload, new MapValue(protectedStorageEntry.getSequenceNumber(), System.currentTimeMillis()));
-                // We set the delay higher as we might receive a batch of items
-                sequenceNumberMapStorage.queueUpForSave(SequenceNumberMap.clone(sequenceNumberMap), 2000);
+        // If we have seen a more recent operation for this payload, we ignore the current one

```suggestion
        // If we have seen a more recent version of this payload, we ignore the current one
```

?

-- 
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/3557#pullrequestreview-317657768
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191115/7741287f/attachment.html>


More information about the bisq-github mailing list