packages/connection/src/class-manager.php 1 location
|
@@ 1253-1260 (lines=8) @@
|
1250 |
|
* @since 5.4 |
1251 |
|
* @param Integer $min_timeout the minimum timeout value. |
1252 |
|
**/ |
1253 |
|
public function set_min_time_limit( $min_timeout ) { |
1254 |
|
$timeout = $this->get_max_execution_time(); |
1255 |
|
if ( $timeout < $min_timeout ) { |
1256 |
|
$timeout = $min_timeout; |
1257 |
|
set_time_limit( $timeout ); |
1258 |
|
} |
1259 |
|
return $timeout; |
1260 |
|
} |
1261 |
|
|
1262 |
|
/** |
1263 |
|
* Get our assumed site creation date. |
class.jetpack.php 1 location
|
@@ 5361-5368 (lines=8) @@
|
5358 |
|
* |
5359 |
|
* @since 5.4 |
5360 |
|
**/ |
5361 |
|
public static function set_min_time_limit( $min_timeout ) { |
5362 |
|
$timeout = self::get_max_execution_time(); |
5363 |
|
if ( $timeout < $min_timeout ) { |
5364 |
|
$timeout = $min_timeout; |
5365 |
|
set_time_limit( $timeout ); |
5366 |
|
} |
5367 |
|
return $timeout; |
5368 |
|
} |
5369 |
|
|
5370 |
|
/** |
5371 |
|
* Takes the response from the Jetpack register new site endpoint and |