Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aptly ignores -download-limit and downloadConcurrency, downloads at full speed #1250

Open
Kepler-Br opened this issue Feb 18, 2024 · 0 comments

Comments

@Kepler-Br
Copy link

Detailed Description

I'm using 1.5.0 version and this command:
aptly -ignore-signatures -config ./aptly.conf mirror update -download-limit=10 bookworm-non-free
I've tried to set downloadSpeedLimit in the config but nothing works

Downloading http://ftp.ru.debian.org/debian/pool/non-free/t/testu01/libtestu01-0-dev_1.2.3+ds1-2_armel.deb...
^CAborting... press ^C once again to abort immediately
Error downloading http://ftp.ru.debian.org/debian/pool/non-free/t/testu01/libtestu01-0-dev_1.2.3+ds1-2_armel.deb: http://ftp.ru.debian.org/debian/pool/non-free/t/testu01/libtestu01-0-dev_1.2.3+ds1-2_armel.deb: context canceled retrying...
 79.93 MiB / 11.48 GiB [>----------------------------------------------------------]   0.68% 32.53 MiB/s 5m54s

The config is pretty much the default one except for downloadSpeedLimit:

{
  "rootDir": "/host/aptly",
  "downloadConcurrency": 1,
  "downloadSpeedLimit": 10,
  "downloadRetries": 0,
  "downloader": "default",
  "databaseOpenAttempts": -1,
  "architectures": [],
  "dependencyFollowSuggests": false,
  "dependencyFollowRecommends": false,
  "dependencyFollowAllVariants": false,
  "dependencyFollowSource": false,
  "dependencyVerboseResolve": false,
  "gpgDisableSign": false,
  "gpgDisableVerify": false,
  "gpgProvider": "gpg",
  "downloadSourcePackages": false,
  "skipLegacyPool": true,
  "ppaDistributorID": "ubuntu",
  "ppaCodename": "",
  "skipContentsPublishing": false,
  "skipBz2Publishing": false,
  "FileSystemPublishEndpoints": {},
  "S3PublishEndpoints": {},
  "SwiftPublishEndpoints": {},
  "AzurePublishEndpoints": {},
  "AsyncAPI": false,
  "enableMetricsEndpoint": false
}

Context

It's critical for me to not bombard other servers with my full bandwidth

Your Environment

Ubuntu 22.04
or
Ubuntu 22.04 but in docker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant