- 11 Dec, 2019 6 commits
-
-
Steven Allen authored
feat: block on trim
-
Steven Allen authored
Co-Authored-By: Raúl Kripalani <raul@protocol.ai>
-
Steven Allen authored
Bump github.com/multiformats/go-multiaddr from 0.1.2 to 0.2.0
-
Steven Allen authored
Pro: It's a lot simpler. Con: We lose the ordering guarantee. Before, TrimOpenConns would only return once a trim that started _after_ calling TrimOpenConns finished. Now, it returns as soon as it observes _any_ trim finishing (even if the trim started earlier).
-
dependabot-preview[bot] authored
Bumps [github.com/multiformats/go-multiaddr](https://github.com/multiformats/go-multiaddr) from 0.1.2 to 0.2.0. - [Release notes](https://github.com/multiformats/go-multiaddr/releases) - [Commits](https://github.com/multiformats/go-multiaddr/compare/v0.1.2...v0.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Steven Allen authored
1. Perform all trims in the background goroutine. 2. Make `TrimOpenConns` return early when canceled. 3. Make multiple concurrent calls to `TrimOpenConns` block until the trim finishes. Note: It already _may_ block one caller, this just ensures that it always behaves the same way. Returning a signal channel may be a nicer solution but this is less breaking.
-
- 07 Dec, 2019 1 commit
-
-
Steven Allen authored
Bump github.com/multiformats/go-multiaddr from 0.0.2 to 0.1.2
-
- 06 Dec, 2019 5 commits
-
-
dependabot-preview[bot] authored
Bumps [github.com/multiformats/go-multiaddr](https://github.com/multiformats/go-multiaddr) from 0.0.2 to 0.1.2. - [Release notes](https://github.com/multiformats/go-multiaddr/releases) - [Commits](https://github.com/multiformats/go-multiaddr/compare/v0.0.2...v0.1.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
Steven Allen authored
Bump github.com/libp2p/go-libp2p-core from 0.0.1 to 0.2.5
-
Steven Allen authored
-
Steven Allen authored
-
dependabot-preview[bot] authored
Bumps [github.com/libp2p/go-libp2p-core](https://github.com/libp2p/go-libp2p-core) from 0.0.1 to 0.2.5. - [Release notes](https://github.com/libp2p/go-libp2p-core/releases) - [Commits](https://github.com/libp2p/go-libp2p-core/compare/v0.0.1...v0.2.5) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
-
- 28 Jul, 2019 1 commit
-
-
Steven Allen authored
don't count connections in the grace period against the limit
-
- 27 Jul, 2019 1 commit
-
-
Steven Allen authored
-
- 25 Jul, 2019 1 commit
-
-
Steven Allen authored
fixes #46
-
- 25 May, 2019 1 commit
-
-
Raúl Kripalani authored
-
- 23 May, 2019 2 commits
-
-
Raúl Kripalani authored
-
Raúl Kripalani authored
-
- 21 May, 2019 1 commit
-
-
vyzo authored
-
- 18 May, 2019 1 commit
-
-
vyzo authored
Background trimming
-
- 17 May, 2019 4 commits
- 12 May, 2019 3 commits
-
-
vyzo authored
otherwise the target can be 0, which makes it negative on decrement, and it will end up dropping all connections.
-
vyzo authored
-
vyzo authored
- fix potential concurrent modification of connection map from concurrent connects/disconnects by locking the segment - don't spawn goroutines on every connect during trims
-
- 10 May, 2019 4 commits
-
-
vyzo authored
-
Raúl Kripalani authored
-
vyzo authored
-
vyzo authored
-
- 06 May, 2019 3 commits
- 11 Apr, 2019 1 commit
-
-
Raúl Kripalani authored
-
- 09 Apr, 2019 1 commit
-
-
Yusef Napora authored
-
- 29 Mar, 2019 4 commits
-
-
Raúl Kripalani authored
-
Raúl Kripalani authored
-
Raúl Kripalani authored
Add peer protection capability (implementation)
-
Raúl Kripalani authored
-