Update.
This commit is contained in:
		
							parent
							
								
									5c6d837f10
								
							
						
					
					
						commit
						9ba6a28c5c
					
				| @ -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): | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user