Revision 3ec5c230
b/kamaki/clients/pithos/__init__.py | ||
---|---|---|
1272 | 1272 |
|
1273 | 1273 |
:param upload_db: progress.bar for uploading |
1274 | 1274 |
""" |
1275 |
|
|
1276 | 1275 |
self._assert_container() |
1277 | 1276 |
meta = self.get_container_info() |
1278 | 1277 |
blocksize = int(meta['x-container-block-size']) |
... | ... | |
1317 | 1316 |
sendlog.info('- - - wait for threads to finish') |
1318 | 1317 |
for thread in activethreads(): |
1319 | 1318 |
thread.join() |
1319 |
finally: |
|
1320 |
from time import sleep |
|
1321 |
sleep(1.1 * len(activethreads())) |
|
1320 | 1322 |
return headers.values() |
1321 | 1323 |
|
1322 | 1324 |
def truncate_object(self, obj, upto_bytes): |
Also available in: Unified diff