Merge "Make 'object save' fast again"
This commit is contained in:
commit
b55b1d2b94
@ -380,7 +380,7 @@ class APIv1(api.BaseAPI):
|
||||
if len(os.path.dirname(file)) > 0:
|
||||
os.makedirs(os.path.dirname(file))
|
||||
with open(file, 'wb') as f:
|
||||
for chunk in response.iter_content():
|
||||
for chunk in response.iter_content(64 * 1024):
|
||||
f.write(chunk)
|
||||
|
||||
def object_set(
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Makes ``openstack object save`` much faster when saving an object to disk.
|
||||
[Bug `1654645 <https://bugs.launchpad.net/bugs/1654645>`_]
|
Loading…
Reference in New Issue
Block a user