bugfix
This commit is contained in:
parent
fa00e13dc6
commit
1d86f88f48
@ -122,7 +122,7 @@ class ProcessorResource(StaticResource,Url2File):
|
|||||||
t = TimeCost(name)
|
t = TimeCost(name)
|
||||||
with t:
|
with t:
|
||||||
x = self._handle1(request)
|
x = self._handle1(request)
|
||||||
print(name,':', 'time cost=', t.end_time = t.begin_time)
|
print(name,':', 'time cost=', t.end_time - t.begin_time)
|
||||||
return x
|
return x
|
||||||
|
|
||||||
async def _handle1(self,request:Request) -> StreamResponse:
|
async def _handle1(self,request:Request) -> StreamResponse:
|
||||||
|
Loading…
Reference in New Issue
Block a user