chore(torrent): bump anacrolix log level Critical → Warning for visibility
Surfaces tracker-announce + WebRTC peer events that were previously swallowed by the Critical filter. Required for diagnosing the browser ↔ Go piece-transfer issue uncovered during the e2e smoke (peers connect, signalling brokers, WebRTC handshake completes, but anacrolix's outbound seeding to webtorrent.js browsers — known upstream weak spot, issues #402/#752/#805 — produces zero pieces). No behaviour change in normal operation; only changes what gets logged.
This commit is contained in:
parent
e50dd17a00
commit
4c52d9b039
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ func NewTorrentDownloader(cfg TorrentConfig) (*TorrentDownloader, error) {
|
|||
// behaviour but unconditionally allow upload while WebRTC is on so an
|
||||
// active download can still serve to a watching browser.
|
||||
tcfg.NoUpload = !cfg.SeedEnabled && !cfg.WebRTCEnabled
|
||||
tcfg.Logger = alog.Default.FilterLevel(alog.Critical)
|
||||
tcfg.Logger = alog.Default.FilterLevel(alog.Warning) // bumped from Critical for WebRTC peer + tracker announce visibility
|
||||
|
||||
// WebRTC / WebTorrent peer: anacrolix auto-routes ws://+wss:// trackers
|
||||
// to the bundled webtorrent.TrackerClient. We only need to populate the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue