Fixed the get_accounts listing in client.py to handle 10K+ containers.

Tested with stats-report -d
Queried 13103 containers for dispersion reporting, 2m, 0 retries
There were 302 overlapping partitions
There were 9635 partitions missing one copy.
74.91% of container copies found (28768 of 38403)
Sample represents 4.88% of the container partition space
This commit is contained in:
Jay Payne 2011-02-01 23:07:00 +00:00 committed by Tarmac
commit 08de47713a

View File

@ -222,7 +222,7 @@ def get_account(url, token, marker=None, limit=None, prefix=None,
listing = \
get_account(url, token, marker, limit, prefix, http_conn)[1]
if listing:
rv.extend(listing)
rv[1].extend(listing)
return rv
parsed, conn = http_conn
qs = 'format=json'