Download command don't have resp_chunk_size option
Bug #1473929 reported by
Chung Chih, Hung
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
Confirmed
|
Undecided
|
JuliusChen |
Bug Description
Depends on this bug: https:/
It had fixed web-server memory overrun when downloading objects.
But swift cli didn't export resp_chunk_size option.
It was assigned to constant value 65536 in code.
Changed in python-swiftclient: | |
assignee: | nobody → inwinSTACK (inwinstack) |
Changed in python-swiftclient: | |
assignee: | inwinSTACK (inwinstack) → JuliusChen (julius-j-g) |
To post a comment you must log in.
I don't know that it makes sense for the CLI to expose a chunk-size option. Aren't users just streaming content to a file or stdout? Why should they care about the chunk size? If it causes performance problems, we may need to choose a better value, though.
SwiftService certainly could (and probably should) make it configurable, however. See https:/ /github. com/openstack/ python- swiftclient/ blob/3. 1.0/swiftclient /service. py#L1125