packages/connection/src/class-manager.php 1 location
|
@@ 1063-1070 (lines=8) @@
|
1060 |
|
* @since 5.4 |
1061 |
|
* @param Integer $min_timeout the minimum timeout value. |
1062 |
|
**/ |
1063 |
|
public function set_min_time_limit( $min_timeout ) { |
1064 |
|
$timeout = $this->get_max_execution_time(); |
1065 |
|
if ( $timeout < $min_timeout ) { |
1066 |
|
$timeout = $min_timeout; |
1067 |
|
set_time_limit( $timeout ); |
1068 |
|
} |
1069 |
|
return $timeout; |
1070 |
|
} |
1071 |
|
|
1072 |
|
/** |
1073 |
|
* Get our assumed site creation date. |
class.jetpack.php 1 location
|
@@ 5210-5217 (lines=8) @@
|
5207 |
|
* |
5208 |
|
* @since 5.4 |
5209 |
|
**/ |
5210 |
|
public static function set_min_time_limit( $min_timeout ) { |
5211 |
|
$timeout = self::get_max_execution_time(); |
5212 |
|
if ( $timeout < $min_timeout ) { |
5213 |
|
$timeout = $min_timeout; |
5214 |
|
set_time_limit( $timeout ); |
5215 |
|
} |
5216 |
|
return $timeout; |
5217 |
|
} |
5218 |
|
|
5219 |
|
/** |
5220 |
|
* Takes the response from the Jetpack register new site endpoint and |