From: Matt Joiner Date: Thu, 2 Dec 2021 02:48:52 +0000 (+1100) Subject: Record an observation about why webseed peers are doing most of the work in recent... X-Git-Tag: v1.39.0~29 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=32d9ec900c92eb046eb2d9e6a4ace2e6e311e05f;p=btrtrc.git Record an observation about why webseed peers are doing most of the work in recent testing --- diff --git a/webseed-peer.go b/webseed-peer.go index 4cf27d13..77c9533e 100644 --- a/webseed-peer.go +++ b/webseed-peer.go @@ -111,6 +111,8 @@ func (ws *webseedPeer) connectionFlags() string { func (ws *webseedPeer) drop() {} func (ws *webseedPeer) handleUpdateRequests() { + // Because this is synchronous, webseed peers seem to get first dibs on newly prioritized + // pieces. ws.peer.maybeUpdateActualRequestState() }