]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/commitdiff
Update roundtrip._main -- while loop should auto-replenish all pools,
authorWesley Spikes <wesley.spikes@dreamhost.com>
Fri, 15 Jul 2011 20:20:50 +0000 (13:20 -0700)
committerWesley Spikes <wesley.spikes@dreamhost.com>
Mon, 18 Jul 2011 23:15:40 +0000 (16:15 -0700)
and not ones so named.

s3tests/roundtrip.py

index 36422374e853f3ab1cdd878d6c815a97b1a7c55e..c97ce12ce4e9c55af3e8b3a2cb215081f9ede1f7 100644 (file)
@@ -65,7 +65,7 @@ def _main():
     # Main work loop.
     print "Starting main work loop..."
     while context.running:
-        common.fill_pools(context.greenlet_pools.writer, context.greenlet_pools.reader)
+        common.fill_pools(*context.greenlet_pools.values())
         time.sleep(0.1)
 
     print "We've hit duration. Time to stop!"