Skip to content

Commit 203619e

Browse files
authored
[3.3] Torrent client fixes (#18179)
Pulls minimal fix for thrashing in the announce code caused when there's a lot of already completed torrents added. Should fix erigontech/erigon-qa#320 and #18162. Also fixes a rate limiter bug I mentioned to @AskAlexSharov, and an ancient spammy log line. I minimized the fix identified on the development branch of anacrolix/torrent, if this isn't enough I can just pull the full fix. The 3.3 changes: https://github.com/anacrolix/torrent/compare/downstreams/erigon/release/3.3...erigon/release/3.3?expand=1.
1 parent 5c01b1e commit 203619e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ require (
2525
github.com/anacrolix/go-libutp v1.3.2
2626
github.com/anacrolix/log v0.17.1-0.20251118025802-918f1157b7bb
2727
github.com/anacrolix/missinggo/v2 v2.10.0
28-
github.com/anacrolix/torrent v1.59.2-0.20251119114223-afe9ca172f7f
28+
github.com/anacrolix/torrent v1.59.2-0.20251205045338-b2eefa0c4346
2929
github.com/benesch/cgosymbolizer v0.0.0-20190515212042-bec6fe6e597b
3030
github.com/c2h5oh/datasize v0.0.0-20231215233829-aa82cc1e6500
3131
github.com/cenkalti/backoff/v4 v4.3.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ github.com/anacrolix/sync v0.5.5-0.20251119100342-d78dd1f686f1/go.mod h1:21cUWer
143143
github.com/anacrolix/tagflag v0.0.0-20180109131632-2146c8d41bf0/go.mod h1:1m2U/K6ZT+JZG0+bdMK6qauP49QT4wE5pmhJXOKKCHw=
144144
github.com/anacrolix/tagflag v1.0.0/go.mod h1:1m2U/K6ZT+JZG0+bdMK6qauP49QT4wE5pmhJXOKKCHw=
145145
github.com/anacrolix/tagflag v1.1.0/go.mod h1:Scxs9CV10NQatSmbyjqmqmeQNwGzlNe0CMUMIxqHIG8=
146-
github.com/anacrolix/torrent v1.59.2-0.20251119114223-afe9ca172f7f h1:flif7SWg0eGGu1QwqzIdgUeYtIk6XRmGn5K2HNl7DHk=
147-
github.com/anacrolix/torrent v1.59.2-0.20251119114223-afe9ca172f7f/go.mod h1:tAKR6fnCaTDIVsri9k8549Q4lFR4EiWSfmBVlU2AtNU=
146+
github.com/anacrolix/torrent v1.59.2-0.20251205045338-b2eefa0c4346 h1:SnBZGXl9fQJmXKemZVsEB4ERHK6djrM86wW90cTST9E=
147+
github.com/anacrolix/torrent v1.59.2-0.20251205045338-b2eefa0c4346/go.mod h1:BWy89pugMV1NcfJEvyYw7iztb/w7pTshbMfgE2qqMH4=
148148
github.com/anacrolix/upnp v0.1.4 h1:+2t2KA6QOhm/49zeNyeVwDu1ZYS9dB9wfxyVvh/wk7U=
149149
github.com/anacrolix/upnp v0.1.4/go.mod h1:Qyhbqo69gwNWvEk1xNTXsS5j7hMHef9hdr984+9fIic=
150150
github.com/anacrolix/utp v0.1.0 h1:FOpQOmIwYsnENnz7tAGohA+r6iXpRjrq8ssKSre2Cp4=

0 commit comments

Comments
 (0)