Package zeroinstall :: Package injector :: Module scheduler
[frames] | no frames]

Module scheduler

source code

Manage pools of connections so that we can limit the number of requests per site and reuse connections.


Since: 1.6

Classes
  DownloadStep
  DownloadScheduler
Assigns (and re-assigns on redirect) Downloads to Sites, allowing per-site limits and connection pooling.
  Site
Represents a service accepting download requests.
Variables
  default_port = {'http': 80, 'https': 443,}
  MAX_DOWNLOADS_PER_SITE = 5