diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2019-02-18 11:29:14 +0100 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2019-02-20 10:25:25 +0100 |
commit | b5c0d15683de4c4d1f604cc34378c733295982fb (patch) | |
tree | cb9d7f45a2c696e22df210b344f50d62caca4661 /commands.md | |
parent | 3b88c7350726f5a019f989a1ab7e5046917f2f79 (diff) | |
download | podman-b5c0d15683de4c4d1f604cc34378c733295982fb.tar.gz podman-b5c0d15683de4c4d1f604cc34378c733295982fb.tar.bz2 podman-b5c0d15683de4c4d1f604cc34378c733295982fb.zip |
podman-search: run in parallel
Spin up a goroutine for each registry to make podman-search run in
parallel. This has considerable speed improvements. For instance, a
`podman search ruby` drops from 11 to 2 seconds when using the following
search registries:
```toml
[registries.search]
registries = ['docker.io', 'registry.fedoraproject.org', 'quay.io',
'registry.access.redhat.com', 'registry.centos.org']
```
The number of parallel goroutines is limited to 6 to play nice with
local resources and the registries.
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'commands.md')
0 files changed, 0 insertions, 0 deletions