forked from edward/owl-map
		
	Increase timeout
This commit is contained in:
		
							parent
							
								
									88409852cf
								
							
						
					
					
						commit
						eb6631ab05
					
				| 
						 | 
					@ -10,7 +10,7 @@ from sqlalchemy.orm import scoped_session, sessionmaker
 | 
				
			||||||
 | 
					
 | 
				
			||||||
session: sqlalchemy.orm.scoping.scoped_session = scoped_session(sessionmaker())
 | 
					session: sqlalchemy.orm.scoping.scoped_session = scoped_session(sessionmaker())
 | 
				
			||||||
 | 
					
 | 
				
			||||||
timeout = 2_000  # 20 seconds
 | 
					timeout = 20_000  # 20 seconds
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def init_db(db_url: str, echo: bool = False) -> None:
 | 
					def init_db(db_url: str, echo: bool = False) -> None:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue