pmtiles-swarm 0.35.2 → 0.35.3

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -7,6 +7,22 @@
7
7
  ### 🐞 Bug fixes
8
8
  - _...Add new stuff here..._
9
9
 
10
+ ## 0.35.3
11
+ ### ✨ Features and improvements
12
+
13
+ ### 🐞 Bug fixes
14
+ - **Requires pmtiles-torrent 0.7.1, which stops the sidecar segfaulting.** The alert pump 0.7.0
15
+ introduced queued libtorrent's alert objects for another thread to read. libtorrent frees an
16
+ alert on the next `pop_alerts()`, and the pump pops about twice a second while a reader waits up
17
+ to 500ms before looking — so the read was routinely of memory the session had reclaimed, which
18
+ is not an exception but the process going away. Seen here as `libtorrent sidecar killed by
19
+ SIGSEGV` every five minutes, on the resume-data timer: saving resume data posts a burst of
20
+ alerts across every archive at once, which is exactly the traffic that leaves one queued past
21
+ the pop after it.
22
+
23
+ `^0.7.0` already admits 0.7.1, so a fresh install of 0.35.2 picks the fix up on its own. The
24
+ floor is raised anyway, because a node installed from a lock file does not.
25
+
10
26
  ## 0.35.2
11
27
  ### ✨ Features and improvements
12
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pmtiles-swarm",
3
- "version": "0.35.2",
3
+ "version": "0.35.3",
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.7.0",
49
+ "pmtiles-torrent": "^0.7.1",
50
50
  "webtorrent": "^3.0.21"
51
51
  },
52
52
  "engines": {