DATABASE_TIMEOUT isn't set in the installer
This commit is contained in:
		
							parent
							
								
									ed8a9fca52
								
							
						
					
					
						commit
						ad1e52bf05
					
				| @ -92,7 +92,9 @@ class PostgreSQL extends DBEngine | ||||
|         } else { | ||||
|             $db->exec("SET application_name TO 'shimmie [local]';"); | ||||
|         } | ||||
|         $this->set_timeout($db, DATABASE_TIMEOUT); | ||||
|         if (defined("DATABASE_TIMEOUT")) { | ||||
|             $this->set_timeout($db, DATABASE_TIMEOUT); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     public function scoreql_to_sql(string $data): string | ||||
|  | ||||
| @ -770,4 +770,3 @@ function stringer($s) | ||||
|     } | ||||
|     return (string)$s; | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user