Compare commits

...
8 Commits
3 changed files with 11 additions and 9 deletions
+7 -7
View File
@@ -14,7 +14,7 @@
"bcryptjs": "2.4.3",
"glob": "7.1.6",
"ipfs": "0.60.0",
"ipfs-coord": "6.8.9",
"ipfs-coord": "6.8.10",
"ipfs-http-client": "55.0.0",
"jsonrpc-lite": "2.2.0",
"jsonwebtoken": "8.5.1",
@@ -10421,9 +10421,9 @@
}
},
"node_modules/ipfs-coord": {
"version": "6.8.9",
"resolved": "http://94.130.170.209:4873/ipfs-coord/-/ipfs-coord-6.8.9.tgz",
"integrity": "sha512-i2wy6JAyQfh6IiCDMewrtO68I1d/khj5E99qhiTTP3AZGHJZwd+n+yANVZnoEeC9zJKyIOrQtWPByJ2+GsCp7g==",
"version": "6.8.10",
"resolved": "http://94.130.170.209:4873/ipfs-coord/-/ipfs-coord-6.8.10.tgz",
"integrity": "sha512-04nlX4AkfqLuuLzpMcHnpv++iOETLRkzFA2GfAmY90r99HynfHt3DypP6loVdAnD34iWgD+tLhKNQ7QQM7cgfQ==",
"license": "MIT",
"dependencies": {
"axios": "0.21.4",
@@ -33924,9 +33924,9 @@
}
},
"ipfs-coord": {
"version": "6.8.9",
"resolved": "http://94.130.170.209:4873/ipfs-coord/-/ipfs-coord-6.8.9.tgz",
"integrity": "sha512-i2wy6JAyQfh6IiCDMewrtO68I1d/khj5E99qhiTTP3AZGHJZwd+n+yANVZnoEeC9zJKyIOrQtWPByJ2+GsCp7g==",
"version": "6.8.10",
"resolved": "http://94.130.170.209:4873/ipfs-coord/-/ipfs-coord-6.8.10.tgz",
"integrity": "sha512-04nlX4AkfqLuuLzpMcHnpv++iOETLRkzFA2GfAmY90r99HynfHt3DypP6loVdAnD34iWgD+tLhKNQ7QQM7cgfQ==",
"requires": {
"axios": "0.21.4",
"bch-encrypt-lib": "2.0.0",
+1 -1
View File
@@ -28,7 +28,7 @@
"bcryptjs": "2.4.3",
"glob": "7.1.6",
"ipfs": "0.60.0",
"ipfs-coord": "6.8.9",
"ipfs-coord": "6.8.10",
"ipfs-http-client": "55.0.0",
"jsonrpc-lite": "2.2.0",
"jsonwebtoken": "8.5.1",
+3 -1
View File
@@ -14,6 +14,7 @@
const IPFSembedded = require('ipfs')
const IPFSexternal = require('ipfs-http-client')
const fs = require('fs')
const http = require('http')
// Local libraries
const config = require('../../../config')
@@ -74,7 +75,8 @@ class IpfsAdapter {
const ipfsOptionsExternal = {
host: this.config.ipfsHost,
port: this.config.ipfsApiPort
port: this.config.ipfsApiPort,
agent: http.Agent({ keepAlive: true, maxSockets: 2000 })
}
let ipfsOptions = ipfsOptionsEmbedded