Comment 2 for bug 1775002

Revision history for this message
Drew Freiberger (afreiberger) wrote :

 I'm not certain I agree with the assessment on the swift calls based on the evidence provided. It appears that the get_container and get_account are being called with limit=$limit+1 as a kwarg which should have the swift-proxy api limiting the response to limit+1.

Line 141 and 147 of the os_dash/api/swift.py file linked in the first URL send limit=limit+1 as a kwarg to the swift GET call, and then chop off the extra 1 entry which then returns True (responses limited by value).

I'm thinking this will work as intended, if you reduce the API_RESULT_LIMIT, it should reduce the results returned to the horizon unit.