Restore thread-wait for append
authorStavros Sachtouris <saxtouri@admin.grnet.gr>
Wed, 22 May 2013 15:25:07 +0000 (18:25 +0300)
committerStavros Sachtouris <saxtouri@admin.grnet.gr>
Wed, 22 May 2013 15:25:07 +0000 (18:25 +0300)
kamaki/clients/pithos/__init__.py

index d2bda0b..8ef2f14 100644 (file)
@@ -1315,7 +1315,7 @@ class PithosClient(PithosRestClient):
                 thread.join()
         finally:
             from time import sleep
-            sleep(1.1 * len(activethreads()))
+            sleep(2 * len(activethreads()))
         return headers.values()
 
     def truncate_object(self, obj, upto_bytes):