diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-01-19 03:05:18 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-01-19 03:05:18 +0000 |
| commit | bb8aa3d060237f5827b228a761c565f92f2ce683 (patch) | |
| tree | 1dc4361b6e9f6ee0cd6cd2ed488e044de0879842 /taskflow/persistence/backends/impl_sqlalchemy.py | |
| parent | eb92706cbabd8aaab176e3f79f995a33b85bb22f (diff) | |
| parent | d92c226fe2d4a4fc402b96354da29dcc22a25574 (diff) | |
| download | taskflow-bb8aa3d060237f5827b228a761c565f92f2ce683.tar.gz | |
Merge "Add back a 'eventlet_utils' helper utility module"
Diffstat (limited to 'taskflow/persistence/backends/impl_sqlalchemy.py')
| -rw-r--r-- | taskflow/persistence/backends/impl_sqlalchemy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/taskflow/persistence/backends/impl_sqlalchemy.py b/taskflow/persistence/backends/impl_sqlalchemy.py index d84b9b2..0135dfb 100644 --- a/taskflow/persistence/backends/impl_sqlalchemy.py +++ b/taskflow/persistence/backends/impl_sqlalchemy.py @@ -38,7 +38,7 @@ from taskflow.persistence.backends.sqlalchemy import migration from taskflow.persistence.backends.sqlalchemy import models from taskflow.persistence import logbook from taskflow.types import failure -from taskflow.utils import async_utils +from taskflow.utils import eventlet_utils from taskflow.utils import misc @@ -250,7 +250,7 @@ class SQLAlchemyBackend(base.Backend): engine_args.update(conf.pop('engine_args', {})) engine = sa.create_engine(sql_connection, **engine_args) checkin_yield = conf.pop('checkin_yield', - async_utils.EVENTLET_AVAILABLE) + eventlet_utils.EVENTLET_AVAILABLE) if _as_bool(checkin_yield): sa.event.listen(engine, 'checkin', _thread_yield) if 'mysql' in e_url.drivername: |
