Update.
This commit is contained in:
		
							parent
							
								
									0e12f7a75c
								
							
						
					
					
						commit
						cac691e9ff
					
				| @ -31,7 +31,9 @@ class BaseMapper: | ||||
|                 database_exception = None  | ||||
|                 for x in range(20): | ||||
|                     try: | ||||
|                         return func(*args, **kwargs) | ||||
|                         result = func(*args, **kwargs) | ||||
|                         self.db.commit() | ||||
|                         return result | ||||
|                     except Exception as ex: | ||||
|                         await asyncio.sleep(0) | ||||
|                         database_exception = ex | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user