Skip to content

v0.179.0

Latest

Choose a tag to compare

@ernado ernado released this 06 Dec 20:13
20aa99a
  • pool, telegram (#2053): several part requests in flight on one connection of a file pool: pool.DCOptions.MaxConnRequests (1 by default, as before) and telegram.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.Download keeps FilePoolSize x FileConnRequests parts in flight.

    1 GiB downloads from DC 2 with Client.Download defaults, 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