hypercore 11.22.0 → 11.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/replicator.js +4 -0
- package/package.json +1 -1
package/lib/replicator.js
CHANGED
|
@@ -1797,6 +1797,10 @@ module.exports = class Replicator {
|
|
|
1797
1797
|
}
|
|
1798
1798
|
}
|
|
1799
1799
|
|
|
1800
|
+
setInflightRange(min, max) {
|
|
1801
|
+
this.inflightRange = [min, max]
|
|
1802
|
+
}
|
|
1803
|
+
|
|
1800
1804
|
updateActivity(inc, session) {
|
|
1801
1805
|
this.activeSessions += inc
|
|
1802
1806
|
this.setDownloading(this.activeSessions !== 0, session)
|