Merge pull request #228 from shocknet/remove-2nd-peer
remove offline peer
This commit is contained in:
commit
ea37088ae9
3 changed files with 4 additions and 6 deletions
|
|
@ -46,7 +46,7 @@ module.exports = (mainnet = false) => {
|
|||
logfile: "shockapi.log",
|
||||
lndLogFile: parsePath(`${lndDirectory}/logs/bitcoin/${network}/lnd.log`),
|
||||
lndDirPath: lndDirectory,
|
||||
peers: ['http://gun.shock.network:8765/gun','http://gun2.shock.network:8765/gun'],
|
||||
peers: ['http://gun.shock.network:8765/gun'],
|
||||
useTLS: false,
|
||||
tokenExpirationMS: 259200000
|
||||
};
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
gun = Gun({
|
||||
peers: [
|
||||
'http://gun.shock.network:8765/gun',
|
||||
'http://gun2.shock.network:8765/gun'
|
||||
//'http://gun2.shock.network:8765/gun'
|
||||
],
|
||||
axe: false
|
||||
})
|
||||
|
|
@ -61,4 +61,4 @@
|
|||
background-color: black;
|
||||
}
|
||||
</style>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -36,9 +36,7 @@ const setReceivedReqsMap = reqs => {
|
|||
}
|
||||
|
||||
listeners.add(() => {
|
||||
logger.info(
|
||||
`new received reqs: ${JSON.stringify(getReceivedReqs(), null, 4)}`
|
||||
)
|
||||
logger.info(`new received reqs: ${size(getReceivedReqs())}`)
|
||||
})
|
||||
|
||||
const react = debounce(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue