-
pool,telegram(#2053): several part requests in flight on one connection of a file pool:pool.DCOptions.MaxConnRequests(1 by default, as before) andtelegram.Options.FileConnRequests. FileDC pools now default to 2 connections x 4 requests (were 4 x 1): media servers close connections of an account under load, and fewer connections with a few requests each are closed less often.Client.DownloadkeepsFilePoolSize x FileConnRequestsparts in flight.1 GiB downloads from DC 2 with
Client.Downloaddefaults, three interleaved rounds: 4 x 1 ran at 29-39 MiB/s with 376-460 connections opened; 2 x 4 at 51-54 MiB/s with 84-90. No flood waits or transport -429.To keep the old behaviour:
FilePoolSize: 4, FileConnRequests: 1.
Full Changelog: v0.178.3...v0.179.0