ansible: make FileService register method synchronous

On Travis it seems it is possible for the fetch message to reach
FileService before the register message is fully processed.
This commit is contained in:
David Wilson 2018-04-17 12:55:14 +01:00
parent c83b113600
commit c8ce3059d1
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ class BinaryPlanner(Planner):
def plan(self, invocation, **kwargs):
invocation.connection._connect()
mitogen.service.call_async(
mitogen.service.call(
context=invocation.connection.parent,
handle=ansible_mitogen.services.FileService.handle,
method='register',