Enable unidirectional routing in Ansible; closes #132.
This commit is contained in:
parent
356647bef4
commit
bd2cc0830c
|
@ -255,7 +255,7 @@ class ContextService(mitogen.service.Service):
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
raise Error('unsupported method: %(transport)s' % spec)
|
raise Error('unsupported method: %(transport)s' % spec)
|
||||||
|
|
||||||
context = method(via=via, **spec['kwargs'])
|
context = method(via=via, unidirectional=True, **spec['kwargs'])
|
||||||
if via and spec.get('enable_lru'):
|
if via and spec.get('enable_lru'):
|
||||||
self._update_lru(context, spec, via)
|
self._update_lru(context, spec, via)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue