Batch up queries to PackageKit
commitd856e5e567f9285b5c8039d99154a3fb564c31fd
authorThomas Leonard <talex5@gmail.com>
Sun, 26 Jun 2011 13:34:03 +0000 (26 14:34 +0100)
committerThomas Leonard <talex5@gmail.com>
Sun, 26 Jun 2011 13:36:03 +0000 (26 14:36 +0100)
tree89241e33d57c84fcb5eb881c98e50506fae59ac4
parentdfba177f11c234b0dac7dbce968485a0f9379c01
Batch up queries to PackageKit

PackageKit (on Debian at least) takes about 0.7s per request, regardless of how
many packages you ask about. This patch reduces the time taken to get the
necessary information about the Subversion feed from about 6.7s to 0.7s.
zeroinstall/injector/packagekit.py