packages/connection/src/Manager.php 1 location
|
@@ 1014-1021 (lines=8) @@
|
1011 |
|
* @since 5.4 |
1012 |
|
* @param Integer $min_timeout the minimum timeout value. |
1013 |
|
**/ |
1014 |
|
public function set_min_time_limit( $min_timeout ) { |
1015 |
|
$timeout = $this->get_max_execution_time(); |
1016 |
|
if ( $timeout < $min_timeout ) { |
1017 |
|
$timeout = $min_timeout; |
1018 |
|
set_time_limit( $timeout ); |
1019 |
|
} |
1020 |
|
return $timeout; |
1021 |
|
} |
1022 |
|
|
1023 |
|
/** |
1024 |
|
* Get our assumed site creation date. |
class.jetpack.php 1 location
|
@@ 5199-5206 (lines=8) @@
|
5196 |
|
* |
5197 |
|
* @since 5.4 |
5198 |
|
**/ |
5199 |
|
public static function set_min_time_limit( $min_timeout ) { |
5200 |
|
$timeout = self::get_max_execution_time(); |
5201 |
|
if ( $timeout < $min_timeout ) { |
5202 |
|
$timeout = $min_timeout; |
5203 |
|
set_time_limit( $timeout ); |
5204 |
|
} |
5205 |
|
return $timeout; |
5206 |
|
} |
5207 |
|
|
5208 |
|
/** |
5209 |
|
* Takes the response from the Jetpack register new site endpoint and |