Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Unable to push records to Replicators when using client-side Networking layer #273

Closed
carsonfarmer opened this issue Jun 10, 2020 · 1 comment

Comments

@carsonfarmer
Copy link
Member

Describe the bug
If using the local (client-side) Networking layer (network vs network-client), adding a replicator via addReplicator does not appear to successfully add the replicator addrs to the remote's peer store, thereby causing direct pushes to not happen. This leads to slower updates, because we are then relying on pull based sync, which is currently bounded by the 10 second pull interval.

To Reproduce
Steps to reproduce the behavior:
Run the mocha tests, The Network Client version runs quickly, the Network version gets 'stuck' on the subscribe test.

Expected behavior
Both tests should be reasonably fast, and should be about the same time
Additional context
This is related to/cause by textileio/go-threads#373

@carsonfarmer
Copy link
Member Author

Fixed with textileio/go-threads#374

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant