drop the go-context dependency
This was causing us to build up a bunch of background goroutines. Technically, we should be resetting all these streams when the DHT stops. However, we don't actually unregister stream handlers from the host so, really, nothing will actually stop till the host stops. When it does, it'll kill all the streams anyways.
Showing
... | ... | @@ -9,7 +9,6 @@ require ( |
github.com/ipfs/go-ipfs-util v0.0.1 | ||
github.com/ipfs/go-log v0.0.1 | ||
github.com/ipfs/go-todocounter v0.0.1 | ||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 | ||
github.com/jbenet/goprocess v0.1.3 | ||
github.com/libp2p/go-libp2p v0.0.27 | ||
github.com/libp2p/go-libp2p-crypto v0.0.2 | ||
... | ... |
... | ... | @@ -82,8 +82,6 @@ github.com/jbenet/go-cienv v0.0.0-20150120210510-1bb1476777ec h1:DQqZhhDvrTrEQ3Q |
github.com/jbenet/go-cienv v0.0.0-20150120210510-1bb1476777ec/go.mod h1:rGaEvXB4uRSZMmzKNLoXvTu1sfx+1kv/DojUlPrSZGs= | ||
github.com/jbenet/go-cienv v0.1.0 h1:Vc/s0QbQtoxX8MwwSLWWh+xNNZvM3Lw7NsTcHrvvhMc= | ||
github.com/jbenet/go-cienv v0.1.0/go.mod h1:TqNnHUmJgXau0nCzC7kXWeotg3J9W34CUv5Djy1+FlA= | ||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= | ||
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= | ||
github.com/jbenet/go-temp-err-catcher v0.0.0-20150120210811-aac704a3f4f2 h1:vhC1OXXiT9R2pczegwz6moDvuRpggaroAXhPIseh57A= | ||
github.com/jbenet/go-temp-err-catcher v0.0.0-20150120210811-aac704a3f4f2/go.mod h1:8GXXJV31xl8whumTzdZsTt3RnUIiPqzkyf7mxToRCMs= | ||
github.com/jbenet/goprocess v0.0.0-20160826012719-b497e2f366b8 h1:bspPhN+oKYFk5fcGNuQzp6IGzYQSenLEgH3s6jkXrWw= | ||
... | ... |
Please register or sign in to comment