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

Commit e2379ab

Browse files
daviddiasdryajov
authored andcommitted
Document 611 (#1046)
* chore: update deps * docs: add note about Chrome aggressive resource throtteling policy to FAQ
1 parent a698f34 commit e2379ab

File tree

2 files changed

+26
-20
lines changed

2 files changed

+26
-20
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,12 @@ npm install electron-webrtc --global
394394

395395
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"`
396396

397+
#### I see some slowness when hopping between tabs Chrome with IPFS nodes, is there a reason why?
398+
399+
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.
400+
401+
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)
402+
397403
## Packages
398404

399405
| Package | Version | Deps | DevDeps | Build |

package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -69,41 +69,41 @@
6969
"detect-node": "^2.0.3",
7070
"dir-compare": "^1.4.0",
7171
"dirty-chai": "^2.0.1",
72-
"eslint-plugin-react": "^7.3.0",
72+
"eslint-plugin-react": "^7.4.0",
7373
"execa": "^0.8.0",
7474
"expose-loader": "^0.7.3",
7575
"form-data": "^2.3.1",
7676
"gulp": "^3.9.1",
7777
"interface-ipfs-core": "~0.32.1",
78-
"ipfsd-ctl": "~0.23.0",
78+
"ipfsd-ctl": "~0.24.0",
7979
"left-pad": "^1.1.3",
8080
"lodash": "^4.17.4",
81-
"mocha": "^3.5.2",
81+
"mocha": "^4.0.1",
8282
"ncp": "^2.0.0",
8383
"nexpect": "^0.5.0",
8484
"pre-commit": "^1.2.2",
8585
"pretty-bytes": "^4.0.2",
8686
"qs": "^6.5.1",
8787
"random-fs": "^1.0.3",
88-
"rimraf": "^2.6.1",
88+
"rimraf": "^2.6.2",
8989
"stream-to-promise": "^2.2.0",
9090
"transform-loader": "^0.2.4"
9191
},
9292
"dependencies": {
9393
"async": "^2.5.0",
9494
"bl": "^1.2.1",
95-
"boom": "^5.2.0",
95+
"boom": "^6.0.0",
9696
"byteman": "^1.3.5",
97-
"cids": "^0.5.1",
98-
"debug": "^3.0.1",
99-
"file-type": "^6.1.0",
100-
"filesize": "^3.5.10",
97+
"cids": "^0.5.2",
98+
"debug": "^3.1.0",
99+
"file-type": "^7.2.0",
100+
"filesize": "^3.5.11",
101101
"fsm-event": "^2.1.0",
102102
"get-folder-size": "^1.0.0",
103103
"glob": "^7.1.2",
104-
"hapi": "^16.5.2",
104+
"hapi": "^16.6.2",
105105
"hapi-set-header": "^1.0.2",
106-
"hoek": "^4.2.0",
106+
"hoek": "^5.0.0",
107107
"ipfs-api": "^14.3.7",
108108
"ipfs-bitswap": "~0.17.2",
109109
"ipfs-block": "~0.6.0",
@@ -112,20 +112,20 @@
112112
"ipfs-repo": "~0.17.0",
113113
"ipfs-unixfs": "~0.1.13",
114114
"ipfs-unixfs-engine": "~0.22.5",
115-
"ipld-resolver": "~0.13.2",
115+
"ipld-resolver": "~0.13.4",
116116
"is-ipfs": "^0.3.2",
117117
"is-stream": "^1.1.0",
118-
"joi": "^10.6.0",
118+
"joi": "^13.0.1",
119119
"libp2p": "~0.12.4",
120120
"libp2p-floodsub": "~0.11.1",
121121
"libp2p-kad-dht": "~0.5.1",
122122
"libp2p-mdns": "~0.9.1",
123123
"libp2p-multiplex": "~0.5.0",
124124
"libp2p-railing": "~0.7.1",
125125
"libp2p-secio": "~0.8.1",
126-
"libp2p-tcp": "~0.11.0",
126+
"libp2p-tcp": "~0.11.1",
127127
"libp2p-webrtc-star": "~0.13.2",
128-
"libp2p-websockets": "~0.10.1",
128+
"libp2p-websockets": "~0.10.2",
129129
"lodash.flatmap": "^4.5.0",
130130
"lodash.get": "^4.4.2",
131131
"lodash.sortby": "^4.7.0",
@@ -134,11 +134,11 @@
134134
"mime-types": "^2.1.17",
135135
"mkdirp": "~0.5.1",
136136
"multiaddr": "^3.0.1",
137-
"multihashes": "~0.4.9",
137+
"multihashes": "~0.4.12",
138138
"once": "^1.4.0",
139139
"path-exists": "^3.0.0",
140140
"peer-book": "~0.5.1",
141-
"peer-id": "~0.10.1",
141+
"peer-id": "~0.10.2",
142142
"peer-info": "~0.11.0",
143143
"progress": "^2.0.0",
144144
"promisify-es6": "^1.0.3",
@@ -158,11 +158,11 @@
158158
"tar-stream": "^1.5.4",
159159
"temp": "~0.8.3",
160160
"through2": "^2.0.3",
161-
"update-notifier": "^2.2.0",
162-
"yargs": "8.0.2"
161+
"update-notifier": "^2.3.0",
162+
"yargs": "9.0.1"
163163
},
164164
"optionalDependencies": {
165-
"prom-client": "^10.1.0",
165+
"prom-client": "^10.2.0",
166166
"prometheus-gc-stats": "^0.5.0"
167167
},
168168
"contributors": [

0 commit comments

Comments
 (0)