packages/connection/src/Manager.php 1 location
|
@@ 954-961 (lines=8) @@
|
951 |
|
* @since 5.4 |
952 |
|
* @param Integer $min_timeout the minimum timeout value. |
953 |
|
**/ |
954 |
|
public function set_min_time_limit( $min_timeout ) { |
955 |
|
$timeout = $this->get_max_execution_time(); |
956 |
|
if ( $timeout < $min_timeout ) { |
957 |
|
$timeout = $min_timeout; |
958 |
|
set_time_limit( $timeout ); |
959 |
|
} |
960 |
|
return $timeout; |
961 |
|
} |
962 |
|
|
963 |
|
/** |
964 |
|
* Get our assumed site creation date. |
class.jetpack.php 1 location
|
@@ 5019-5026 (lines=8) @@
|
5016 |
|
* |
5017 |
|
* @since 5.4 |
5018 |
|
**/ |
5019 |
|
public static function set_min_time_limit( $min_timeout ) { |
5020 |
|
$timeout = self::get_max_execution_time(); |
5021 |
|
if ( $timeout < $min_timeout ) { |
5022 |
|
$timeout = $min_timeout; |
5023 |
|
set_time_limit( $timeout ); |
5024 |
|
} |
5025 |
|
return $timeout; |
5026 |
|
} |
5027 |
|
|
5028 |
|
/** |
5029 |
|
* Takes the response from the Jetpack register new site endpoint and |