make coros.CoroutinePool return pool.Pool instance
This commit is contained in:
@@ -449,8 +449,8 @@ def execute(func, *args, **kw):
|
|||||||
|
|
||||||
|
|
||||||
def CoroutinePool(*args, **kwargs):
|
def CoroutinePool(*args, **kwargs):
|
||||||
from eventlet.pools import CoroutinePool
|
from eventlet.pool import Pool
|
||||||
return CoroutinePool(*args, **kwargs)
|
return Pool(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
class pipe(object):
|
class pipe(object):
|
||||||
|
Reference in New Issue
Block a user