Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

WIP fix: messages don't go out of order #19

Closed
wants to merge 1 commit into from
Closed

Conversation

daviddias
Copy link
Member

Still haven't had the time to work properly in this fix, but essentially what needs to happen is that we need a way to signal the sender that the previous message was actually sent.

Currently something is wrong, initially suspicion was that API was not properly sync, but now I wonder if it is a problem with the time-cache that goes wrong with 10K messages in Node.js 4 (very specific)

Tests needs to be added (same test that is in js-ipfs).

@dignifiedquire
Copy link
Member

Have you tested if there is a specific amount of messages when this gets triggered?

@daviddias
Copy link
Member Author

I tested in js-ipfs that 10 is always fine, 100 and 1000 is mostly fine (but you can see it breaking) 10k always breaks at some point.

@daviddias daviddias closed this Jan 16, 2017
@daviddias daviddias deleted the fix/ordering branch January 16, 2017 11:48
@daviddias daviddias removed the status/in-progress In progress label Jan 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants