Cloud schema and remove use_ubridge for VMware VM.

This commit is contained in:
grossmj committed 2016-05-28 21:46:48 -06:00
1 parent df654b40ff
commit 39a3f2fae2
6 files changed
+306 -74

No files matched your search

+2 -3
View File
@@ -21,9 +21,9 @@ import asyncio
class Pool():
"""
Limit concurrency for running parallel task
Limit concurrency for running parallel tasks
"""
def __init__(self, concurrency=2):
def __init__(self, concurrency=5):
self._tasks = []
self._concurrency = concurrency
@@ -41,7 +41,6 @@ class Pool():
task, args, kwargs = self._tasks.pop(0)
pending.add(task(*args, **kwargs))
(done, pending) = yield from asyncio.wait(pending, return_when=asyncio.FIRST_COMPLETED)
print(done)
def main():