chore: update switch (#395)

BREAKING CHANGE: switch configuration has changed.
'blacklistTTL' is now 'denyTTL' and 'blackListAttempts' is now 'denyAttempts'
This commit is contained in:
Jacob Heun
2019-08-01 17:15:02 +02:00
committed by GitHub
parent 3e95e6f9e4
commit 684f283aec
2 changed files with 5 additions and 5 deletions

View File

@@ -174,8 +174,8 @@ describe('configuration', () => {
const options = {
peerInfo,
switch: {
blacklistTTL: 60e3,
blackListAttempts: 5,
denyTTL: 60e3,
denyAttempts: 5,
maxParallelDials: 100,
maxColdCalls: 50,
dialTimeout: 30e3
@@ -188,8 +188,8 @@ describe('configuration', () => {
expect(validateConfig(options)).to.deep.include({
switch: {
blacklistTTL: 60e3,
blackListAttempts: 5,
denyTTL: 60e3,
denyAttempts: 5,
maxParallelDials: 100,
maxColdCalls: 50,
dialTimeout: 30e3