Update.
This commit is contained in:
@@ -34,8 +34,9 @@ class BaseMapper:
|
|||||||
self.db.commit()
|
self.db.commit()
|
||||||
return result
|
return result
|
||||||
|
|
||||||
async with self.semaphore:
|
return _execute()
|
||||||
return await self.loop.run_in_executor(None, _execute)
|
#async with self.semaphore:
|
||||||
|
# return await self.loop.run_in_executor(None, _execute)
|
||||||
|
|
||||||
|
|
||||||
async def new(self):
|
async def new(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user