This works, too:
[root@lembas green]# pwd
/usr/lib/python2.7/site-packages/eventlet/green
[root@lembas green]# diff -u ssl.py.fcs ssl.py
--- ssl.py.fcs 2012-04-10 08:54:43.257885841 -0600
+++ ssl.py 2012-04-10 08:56:27.282585355 -0600
@@ -129,7 +129,10 @@
count = 0
while (count < amount):
v = self.send(data[count:])
- count += v
+ if v:
+ count += v
+ else:
+ time.sleep(0.01)
return amount
else:
while True:
Still, I do not understand quite why this is a problem.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/959221
Title:
swift consumes over 100% of cpu during upload
To manage notifications about this bug go to:
https://bugs.launchpad.net/swift/+bug/959221/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs