pmtiles-swarm 0.32.3 → 0.33.0
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/CHANGELOG.md +12 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,18 @@
|
|
|
7
7
|
### 🐞 Bug fixes
|
|
8
8
|
- _...Add new stuff here..._
|
|
9
9
|
|
|
10
|
+
## 0.33.0
|
|
11
|
+
### ✨ Features and improvements
|
|
12
|
+
- **Requires pmtiles-torrent 0.6.1, which is what finally makes a downloading archive servable.**
|
|
13
|
+
Two fixes there, both about the few kilobytes at the front of a PMTiles archive that say where
|
|
14
|
+
every other section begins. A read used to ask for its piece with a deadline and then raise on
|
|
15
|
+
libtorrent's immediate "I do not have that yet" — abandoning the very fetch it had just
|
|
16
|
+
requested, so each attempt gave up within milliseconds and left nothing behind to hurry the
|
|
17
|
+
piece. And the head was only ever asked for by a reader, so an archive nothing happened to read
|
|
18
|
+
was never prioritised at all. Reads now wait out their own timeout, and the head is prioritised
|
|
19
|
+
when the archive is added. On a 698 GiB mirror with two complete seeds connected this was the
|
|
20
|
+
difference between 200 GiB downloaded with no tile servable and a head that arrives in seconds.
|
|
21
|
+
|
|
10
22
|
## 0.32.3
|
|
11
23
|
### ✨ Features and improvements
|
|
12
24
|
- _...Add new stuff here..._
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmtiles-swarm",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"description": "BitTorrent distribution for PMTiles map archives: create torrents, watch folders, publish and subscribe to RSS feeds, and seed through qBittorrent or an embedded client",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"maplibre-gl": "^6.2.0",
|
|
47
47
|
"parse-torrent": "^11.0.24",
|
|
48
48
|
"pmtiles": "^4.4.1",
|
|
49
|
-
"pmtiles-torrent": "^0.
|
|
49
|
+
"pmtiles-torrent": "^0.6.1",
|
|
50
50
|
"webtorrent": "^3.0.21"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|