summaryrefslogtreecommitdiff
path: root/swift/proxy/controllers/obj.py
diff options
context:
space:
mode:
Diffstat (limited to 'swift/proxy/controllers/obj.py')
-rw-r--r--swift/proxy/controllers/obj.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/swift/proxy/controllers/obj.py b/swift/proxy/controllers/obj.py
index 8e6c47546..3015362c9 100644
--- a/swift/proxy/controllers/obj.py
+++ b/swift/proxy/controllers/obj.py
@@ -38,7 +38,7 @@ from hashlib import md5
from swift import gettext_ as _
from greenlet import GreenletExit
-from eventlet import GreenPile
+from eventlet import GreenPile, sleep
from eventlet.queue import Queue
from eventlet.timeout import Timeout
@@ -1066,6 +1066,7 @@ class ECAppIter(object):
# executing the internal_parts_iters.
if self.stashed_iter:
self.stashed_iter.close()
+ sleep() # Give the per-frag threads a chance to clean up
for it in self.internal_parts_iters:
close_if_possible(it)