Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Document 611 #1046

Merged
merged 2 commits into from
Oct 22, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,12 @@ npm install electron-webrtc --global

Then, update your IPFS Daemon config to include the multiaddr for this new transport on the `Addresses.Swarm` array. Add: `"/dns4/star-signal.cloud.ipfs.team/wss/p2p-webrtc-star"`

#### I see some slowness when hopping between tabs Chrome with IPFS nodes, is there a reason why?

Yes, unfortunately, due to [Chrome aggressive resource throttling policy](https://github.com/ipfs/js-ipfs/issues/611), it cuts freezes the execution of any background tab, turning an IPFS node that was running on that webpage into a vegetable state.

A way to mitigate this in Chrome, is to run your IPFS node inside a Service Worker, so that the IPFS instance runs in a background process. You can learn how to install an IPFS node as a service worker in here the repo [ipfs-service-worker](https://github.com/ipfs/ipfs-service-worker)

## Packages

| Package | Version | Deps | DevDeps | Build |
Expand Down
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,41 +69,41 @@
"detect-node": "^2.0.3",
"dir-compare": "^1.4.0",
"dirty-chai": "^2.0.1",
"eslint-plugin-react": "^7.3.0",
"eslint-plugin-react": "^7.4.0",
"execa": "^0.8.0",
"expose-loader": "^0.7.3",
"form-data": "^2.3.1",
"gulp": "^3.9.1",
"interface-ipfs-core": "~0.32.1",
"ipfsd-ctl": "~0.23.0",
"ipfsd-ctl": "~0.24.0",
"left-pad": "^1.1.3",
"lodash": "^4.17.4",
"mocha": "^3.5.2",
"mocha": "^4.0.1",
"ncp": "^2.0.0",
"nexpect": "^0.5.0",
"pre-commit": "^1.2.2",
"pretty-bytes": "^4.0.2",
"qs": "^6.5.1",
"random-fs": "^1.0.3",
"rimraf": "^2.6.1",
"rimraf": "^2.6.2",
"stream-to-promise": "^2.2.0",
"transform-loader": "^0.2.4"
},
"dependencies": {
"async": "^2.5.0",
"bl": "^1.2.1",
"boom": "^5.2.0",
"boom": "^6.0.0",
"byteman": "^1.3.5",
"cids": "^0.5.1",
"debug": "^3.0.1",
"file-type": "^6.1.0",
"filesize": "^3.5.10",
"cids": "^0.5.2",
"debug": "^3.1.0",
"file-type": "^7.2.0",
"filesize": "^3.5.11",
"fsm-event": "^2.1.0",
"get-folder-size": "^1.0.0",
"glob": "^7.1.2",
"hapi": "^16.5.2",
"hapi": "^16.6.2",
"hapi-set-header": "^1.0.2",
"hoek": "^4.2.0",
"hoek": "^5.0.0",
"ipfs-api": "^14.3.7",
"ipfs-bitswap": "~0.17.2",
"ipfs-block": "~0.6.0",
Expand All @@ -112,20 +112,20 @@
"ipfs-repo": "~0.17.0",
"ipfs-unixfs": "~0.1.13",
"ipfs-unixfs-engine": "~0.22.5",
"ipld-resolver": "~0.13.2",
"ipld-resolver": "~0.13.4",
"is-ipfs": "^0.3.2",
"is-stream": "^1.1.0",
"joi": "^10.6.0",
"joi": "^13.0.1",
"libp2p": "~0.12.4",
"libp2p-floodsub": "~0.11.1",
"libp2p-kad-dht": "~0.5.1",
"libp2p-mdns": "~0.9.1",
"libp2p-multiplex": "~0.5.0",
"libp2p-railing": "~0.7.1",
"libp2p-secio": "~0.8.1",
"libp2p-tcp": "~0.11.0",
"libp2p-tcp": "~0.11.1",
"libp2p-webrtc-star": "~0.13.2",
"libp2p-websockets": "~0.10.1",
"libp2p-websockets": "~0.10.2",
"lodash.flatmap": "^4.5.0",
"lodash.get": "^4.4.2",
"lodash.sortby": "^4.7.0",
Expand All @@ -134,11 +134,11 @@
"mime-types": "^2.1.17",
"mkdirp": "~0.5.1",
"multiaddr": "^3.0.1",
"multihashes": "~0.4.9",
"multihashes": "~0.4.12",
"once": "^1.4.0",
"path-exists": "^3.0.0",
"peer-book": "~0.5.1",
"peer-id": "~0.10.1",
"peer-id": "~0.10.2",
"peer-info": "~0.11.0",
"progress": "^2.0.0",
"promisify-es6": "^1.0.3",
Expand All @@ -158,11 +158,11 @@
"tar-stream": "^1.5.4",
"temp": "~0.8.3",
"through2": "^2.0.3",
"update-notifier": "^2.2.0",
"yargs": "8.0.2"
"update-notifier": "^2.3.0",
"yargs": "9.0.1"
},
"optionalDependencies": {
"prom-client": "^10.1.0",
"prom-client": "^10.2.0",
"prometheus-gc-stats": "^0.5.0"
},
"contributors": [
Expand Down