Skip to content

Commit

Permalink
Update service_router.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RyouZhang committed Feb 22, 2023
1 parent 2e87f81 commit eff096b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noir/router/service_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async def async_call_api(self, path, args, context, timeout=None):

async_task = asyncio.ensure_future(handler.process(args, context), loop=asyncio.get_event_loop())
try:
(res, err) = await asyncio.wait_for(async_task, timeout, loop=asyncio.get_event_loop())
(res, err) = await asyncio.wait_for(async_task, timeout)
if err is not None:
logger.error('call_api_error %s,%s,%s,%s', err, path, args, context)
return res, err
Expand Down

0 comments on commit eff096b

Please sign in to comment.