format
This commit is contained in:
		
							parent
							
								
									3bb1566df2
								
							
						
					
					
						commit
						e7808096ff
					
				@ -100,7 +100,9 @@ class PostgreSQL extends DBEngine
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    public function set_timeout(PDO $db, ?int $time): void
 | 
					    public function set_timeout(PDO $db, ?int $time): void
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
		if(is_null($time)) $time = 0;
 | 
					        if (is_null($time)) {
 | 
				
			||||||
 | 
					            $time = 0;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
        $db->exec("SET statement_timeout TO ".$time.";");
 | 
					        $db->exec("SET statement_timeout TO ".$time.";");
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user