Skip to content

Commit

Permalink
adding await to job manager process self.generate_remote_file
Browse files Browse the repository at this point in the history
  • Loading branch information
jal347 committed May 22, 2023
1 parent b009e92 commit 9d3e0ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biothings/hub/dataload/dumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2163,7 +2163,7 @@ async def create_todump_list(self, force=False, job_manager=None, **kwargs):
if job_manager:
pinfo = self.get_pinfo()
pinfo["step"] = "check"
job = job_manager.defer_to_process(pinfo, partial(self.generate_remote_file))
job = await job_manager.defer_to_process(pinfo, partial(self.generate_remote_file))
else:
# otherwise, just run it with asyncio loop directly
async def run(fut):
Expand Down

0 comments on commit 9d3e0ca

Please sign in to comment.