rm variable reconnect time
This commit is contained in:
parent
deb3ac92d6
commit
be7e122b0a
4 changed files with 22 additions and 33 deletions
36
config.js
36
config.js
|
|
@ -42,26 +42,26 @@ var defaultConfig = {
|
|||
config: {
|
||||
'iceServers': [
|
||||
// Pass in STUN and TURN servers for maximum network compatibility
|
||||
{
|
||||
url: 'stun:162.242.219.26'
|
||||
}, {
|
||||
url: 'turn:162.242.219.26',
|
||||
username: 'bitcore',
|
||||
credential: 'bitcore',
|
||||
}
|
||||
// {
|
||||
// url: 'stun:stun.l.google.com:19302'
|
||||
// url: 'stun:162.242.219.26'
|
||||
// }, {
|
||||
// url: 'stun:stun1.l.google.com:19302'
|
||||
// }, {
|
||||
// url: 'stun:stun2.l.google.com:19302'
|
||||
// }, {
|
||||
// url: 'stun:stun3.l.google.com:19302'
|
||||
// }, {
|
||||
// url: 'stun:stun4.l.google.com:19302'
|
||||
// }, {
|
||||
// url: 'stun:stunserver.org'
|
||||
// url: 'turn:162.242.219.26',
|
||||
// username: 'bitcore',
|
||||
// credential: 'bitcore',
|
||||
// }
|
||||
{
|
||||
url: 'stun:stun.l.google.com:19302'
|
||||
}, {
|
||||
url: 'stun:stun1.l.google.com:19302'
|
||||
}, {
|
||||
url: 'stun:stun2.l.google.com:19302'
|
||||
}, {
|
||||
url: 'stun:stun3.l.google.com:19302'
|
||||
}, {
|
||||
url: 'stun:stun4.l.google.com:19302'
|
||||
}, {
|
||||
url: 'stun:stunserver.org'
|
||||
}
|
||||
// // Options fot TURN servers with p2p communications are not possible.
|
||||
// {
|
||||
// url: 'turn:numb.viagenie.ca',
|
||||
|
|
@ -86,7 +86,7 @@ var defaultConfig = {
|
|||
totalCopayers: 3,
|
||||
spendUnconfirmed: 1,
|
||||
verbose: 1,
|
||||
reconnectDelay: 500,
|
||||
reconnectDelay: 5000,
|
||||
},
|
||||
|
||||
// blockchain service API config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue