- 28 Feb, 2019 1 commit
-
-
Steven Allen authored
Goprocess returns a _custom_ context type. Unfortunately, golang has a bunch of magic type assertions to efficiently handle built-in context types but launches a new goroutine when deriving a new context from a custom context type. Otherwise, it has no way to wait on the custom context's channel. This fix just ensures we only ever have one of goroutines per provide worker by deriving a (normal) cancelable context up-front and then using that.
-
- 27 Feb, 2019 11 commits
-
-
Steven Allen authored
-
Steven Allen authored
fix(prq): fix a bunch of goroutine leaks and deadlocks
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
Otherwise, we'll wait forever.
-
Steven Allen authored
remove allocations round two
-
Hector Sanjuan authored
gx publish 1.1.28
-
- 26 Feb, 2019 1 commit
-
-
Hector Sanjuan authored
-
- 21 Feb, 2019 9 commits
-
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
-
Steven Allen authored
fix(bitswap): remove CancelWants function
-
Steven Allen authored
Avoid allocating for wantlist entries
-
Steven Allen authored
ci(Jenkins): remove Jenkinsfile
-
hannahhoward authored
Jenkins is EOL as the CI so remove Jenkinsfile to disable it
-
Steven Allen authored
-
- 20 Feb, 2019 18 commits
-
-
Steven Allen authored
Fixes #50.
-
Steven Allen authored
Each one is about 4 words wide (two for the CID, one for the priority, one for the trash flag).
-
Steven Allen authored
We allocate a _lot_ of these.
-
Steven Allen authored
More specific wantlists
-
hannahhoward authored
put trash field only where it is needed, in peer request queues
-
hannahhoward authored
Seperate want list into differentiated types - session tracking and regular fix #13
-
Steven Allen authored
fix(wantlist): remove races on setup
-
hannahhoward authored
Move refcnt tracking from the messagequeue to the peermanager, where it's relevant
-
hannahhoward authored
fix remaining issues for race detector in peer manager
-
hannahhoward authored
Keep all of disconnection in a mutex
-
hannahhoward authored
repace get/set with getOrCreate to keep operations atomic
-
hannahhoward authored
Constrain use of mutex to actual operations on the peerQueues map via utility functions
-
hannahhoward authored
Breakup Startup function so that wantlists are not sent with each call to SendMessage
-
hannahhoward authored
If wantlist changes are present, send them immediately on startup, rather than as a seperate message
-
hannahhoward authored
Limit retrying sending of a message even when a successful reconnect occurs
-
hannahhoward authored
fix race conditions while setting up wantlists by creating peer queues on demand BREAKING CHANGE: PeerManager SendMessage signature changed fix #51
-
Steven Allen authored
fix multiple data races
-
Steven Allen authored
Ensures that we don't leave goroutines behind, even if the client forgets to unsubscribe.
-