Skip to content

v0.176.0

Latest

Choose a tag to compare

@ernado ernado released this 05 Dec 19:04
· 6 commits to main since this release
385fe5a
  • Lazy accounts (#2040): fleet.Spec.Lazy accounts are not started with the others; Manager.Do(ctx, name, fn) starts one when needed, waits until its client is up and calls fn; the Manager stops it after ManagerOptions.IdleTimeout (5 min) without a call. An idle account has no connection and no goroutines. fleet.ErrNotRunning.
  • Budgets per group (#2040): ManagerOptions.Limits(group) and ManagerOptions.Total limit connections and requests per second of the clients of a group (a proxy, an IP) and of all clients: a fleet's start and its reconnects after a proxy comes back are spread over time. gotd.fleet.limit.wait metric and dashboard panels.
  • 7 goroutines per idle client instead of 12 (#2041), stacks ~50 KB instead of ~67 KB per client: the callback of Client.Run runs on the caller's goroutine, waits for restart, failed session and lost PFS binding merged. tdsync.CancellableGroup.Context, LogGroup.Context.
  • Fix: a file pool replaced by a media-only one is closed when Run returns, not up to a minute later (#2042).
  • deps: pion/dtls v3.1.14.

Full Changelog: v0.175.0...v0.176.0