packages/connection/src/Manager.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 1007-1014 (lines=8) @@ | 
                                                            
                                    | 1004 |  | 	 * @since 5.4 | 
                                                            
                                    | 1005 |  | 	 * @param Integer $min_timeout the minimum timeout value. | 
                                                            
                                    | 1006 |  | 	 **/ | 
                                                            
                                    | 1007 |  | 	public function set_min_time_limit( $min_timeout ) { | 
                                                            
                                    | 1008 |  | 		$timeout = $this->get_max_execution_time(); | 
                                                            
                                    | 1009 |  | 		if ( $timeout < $min_timeout ) { | 
                                                            
                                    | 1010 |  | 			$timeout = $min_timeout; | 
                                                            
                                    | 1011 |  | 			set_time_limit( $timeout ); | 
                                                            
                                    | 1012 |  | 		} | 
                                                            
                                    | 1013 |  | 		return $timeout; | 
                                                            
                                    | 1014 |  | 	} | 
                                                            
                                    | 1015 |  |  | 
                                                            
                                    | 1016 |  | 	/** | 
                                                            
                                    | 1017 |  | 	 * Get our assumed site creation date. | 
                                                                        
                 
                                                            
                    
class.jetpack.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 5055-5062 (lines=8) @@ | 
                                                            
                                    | 5052 |  | 	 * | 
                                                            
                                    | 5053 |  | 	 * @since 5.4 | 
                                                            
                                    | 5054 |  | 	 **/ | 
                                                            
                                    | 5055 |  | 	public static function set_min_time_limit( $min_timeout ) { | 
                                                            
                                    | 5056 |  | 		$timeout = self::get_max_execution_time(); | 
                                                            
                                    | 5057 |  | 		if ( $timeout < $min_timeout ) { | 
                                                            
                                    | 5058 |  | 			$timeout = $min_timeout; | 
                                                            
                                    | 5059 |  | 			set_time_limit( $timeout ); | 
                                                            
                                    | 5060 |  | 		} | 
                                                            
                                    | 5061 |  | 		return $timeout; | 
                                                            
                                    | 5062 |  | 	} | 
                                                            
                                    | 5063 |  |  | 
                                                            
                                    | 5064 |  | 	/** | 
                                                            
                                    | 5065 |  | 	 * Takes the response from the Jetpack register new site endpoint and |