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
|
@@ 5216-5223 (lines=8) @@
|
| 5213 |
|
* |
| 5214 |
|
* @since 5.4 |
| 5215 |
|
**/ |
| 5216 |
|
public static function set_min_time_limit( $min_timeout ) { |
| 5217 |
|
$timeout = self::get_max_execution_time(); |
| 5218 |
|
if ( $timeout < $min_timeout ) { |
| 5219 |
|
$timeout = $min_timeout; |
| 5220 |
|
set_time_limit( $timeout ); |
| 5221 |
|
} |
| 5222 |
|
return $timeout; |
| 5223 |
|
} |
| 5224 |
|
|
| 5225 |
|
/** |
| 5226 |
|
* Takes the response from the Jetpack register new site endpoint and |