Skip to content

Commit

Permalink
Fix PD's Native backend not setting a default engine type
Browse files Browse the repository at this point in the history
  • Loading branch information
oldpatricka committed Sep 28, 2012
1 parent b231dc6 commit 18cfde3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ion/services/cei/process_dispatcher_service.py
Expand Up @@ -687,8 +687,11 @@ class PDNativeBackend(object):

def __init__(self, conf, service):
engine_conf = conf.get('engines', {})
default_engine = conf.get('default_engine')
if default_engine is None and len(engine_conf.keys()) == 1:
default_engine = engine_conf.keys()[0]
self.store = ProcessDispatcherStore()
self.registry = EngineRegistry.from_config(engine_conf)
self.registry = EngineRegistry.from_config(engine_conf, default=default_engine)

# The Process Dispatcher communicates with EE Agents over ION messaging
# but it still uses dashi to talk to the EPU Management Service, until
Expand Down

0 comments on commit 18cfde3

Please sign in to comment.