diff --git a/ahserver/processorResource.py b/ahserver/processorResource.py index bdecbb4..189e05b 100644 --- a/ahserver/processorResource.py +++ b/ahserver/processorResource.py @@ -121,7 +121,7 @@ class ProcessorResource(StaticResource,Url2File): name = str(request.url) t = TimeCost(name) with t: - x = self._handle1(request) + x = await self._handle1(request) print(name,':', 'time cost=', t.end_time - t.begin_time) return x