Alex Potsides
b70fb43427
fix: increase maxlisteners on event target ( #1050 )
...
Sometimes you encounter peers with lots of addresses. When this happens
you can attach more than 10x event listeners to the abort signal we
use to abort all the dials - this causes node to print a warning
which is misleading.
This PR increases the default number of listeners on the signal.
Fixes #900
2021-12-06 20:54:44 +01:00
Vasco Santos
8506414ea1
chore: config types and dependencies update ( #904 )
...
BREAKING CHANGES:
top level types were updated, multiaddr@9.0.0 is used, dialer and keychain internal property names changed and connectionManager minPeers is not supported anymore
2021-04-15 09:40:02 +02:00
Vasco Santos
037c965a67
chore: update deps ( #869 )
2021-01-27 09:45:31 +01:00
Vasco Santos
169bb806a7
chore: add typedefs ( #802 )
2020-12-16 13:56:41 +01:00
Vasco Santos
96df4b7dc4
chore: update aegir and jsdocs for eslint changes ( #773 )
2020-10-06 14:59:43 +02:00
Jacob Heun
90ecc57dbc
fix: token release logic
2020-01-24 14:40:40 +01:00
Jacob Heun
2570a1ba30
fix: release tokens as soon as they are available
2020-01-24 14:40:40 +01:00
Jacob Heun
7d505494be
docs: add DialRequest description
2020-01-24 14:40:40 +01:00
Jacob Heun
def3574ba0
test: add tests for DialRequest
2020-01-24 14:40:40 +01:00
Jacob Heun
98e82df5e1
refactor: cleanup and reorganize
2020-01-24 14:40:40 +01:00
Jacob Heun
7ac5e42a1a
chore: fix linting
2020-01-24 14:40:40 +01:00
Jacob Heun
b6cd48b798
refactor: clean up dial timeout abort
2020-01-24 14:40:40 +01:00
Jacob Heun
a5b54a7017
feat: add early token recycling in
2020-01-24 14:40:40 +01:00
Jacob Heun
e1e3be8106
refactor: simplify DialRequest logic per feedback
2020-01-24 14:40:40 +01:00
Jacob Heun
b7432bd02b
chore: use any-signal module
2020-01-24 14:40:40 +01:00
Jacob Heun
2788982c53
chore: apply suggestions from code review
...
Co-Authored-By: Vasco Santos <vasco.santos@moxy.studio>
Co-Authored-By: Alan Shaw <alan.shaw@protocol.ai>
2020-01-24 14:40:40 +01:00
Jacob Heun
e445a17278
feat: add token based dialer
2020-01-24 14:40:40 +01:00