Update roundtrip._main -- while loop should auto-replenish all pools,

and not ones so named.
This commit is contained in:
Wesley Spikes 2011-07-15 13:20:50 -07:00
parent fb8f110e69
commit 3c07a4a363

View 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!"