packages/connection/src/class-manager.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 1077-1084 (lines=8) @@ | 
                                                            
                                    | 1074 |  | 	 * @since 5.4 | 
                                                            
                                    | 1075 |  | 	 * @param Integer $min_timeout the minimum timeout value. | 
                                                            
                                    | 1076 |  | 	 **/ | 
                                                            
                                    | 1077 |  | 	public function set_min_time_limit( $min_timeout ) { | 
                                                            
                                    | 1078 |  | 		$timeout = $this->get_max_execution_time(); | 
                                                            
                                    | 1079 |  | 		if ( $timeout < $min_timeout ) { | 
                                                            
                                    | 1080 |  | 			$timeout = $min_timeout; | 
                                                            
                                    | 1081 |  | 			set_time_limit( $timeout ); | 
                                                            
                                    | 1082 |  | 		} | 
                                                            
                                    | 1083 |  | 		return $timeout; | 
                                                            
                                    | 1084 |  | 	} | 
                                                            
                                    | 1085 |  |  | 
                                                            
                                    | 1086 |  | 	/** | 
                                                            
                                    | 1087 |  | 	 * Get our assumed site creation date. | 
                                                                        
                 
                                                            
                    
class.jetpack.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 5225-5232 (lines=8) @@ | 
                                                            
                                    | 5222 |  | 	 * | 
                                                            
                                    | 5223 |  | 	 * @since 5.4 | 
                                                            
                                    | 5224 |  | 	 **/ | 
                                                            
                                    | 5225 |  | 	public static function set_min_time_limit( $min_timeout ) { | 
                                                            
                                    | 5226 |  | 		$timeout = self::get_max_execution_time(); | 
                                                            
                                    | 5227 |  | 		if ( $timeout < $min_timeout ) { | 
                                                            
                                    | 5228 |  | 			$timeout = $min_timeout; | 
                                                            
                                    | 5229 |  | 			set_time_limit( $timeout ); | 
                                                            
                                    | 5230 |  | 		} | 
                                                            
                                    | 5231 |  | 		return $timeout; | 
                                                            
                                    | 5232 |  | 	} | 
                                                            
                                    | 5233 |  |  | 
                                                            
                                    | 5234 |  | 	/** | 
                                                            
                                    | 5235 |  | 	 * Takes the response from the Jetpack register new site endpoint and |