projects/packages/connection/src/class-manager.php 1 location
|
@@ 1255-1262 (lines=8) @@
|
1252 |
|
* @since 5.4 |
1253 |
|
* @param Integer $min_timeout the minimum timeout value. |
1254 |
|
**/ |
1255 |
|
public function set_min_time_limit( $min_timeout ) { |
1256 |
|
$timeout = $this->get_max_execution_time(); |
1257 |
|
if ( $timeout < $min_timeout ) { |
1258 |
|
$timeout = $min_timeout; |
1259 |
|
set_time_limit( $timeout ); |
1260 |
|
} |
1261 |
|
return $timeout; |
1262 |
|
} |
1263 |
|
|
1264 |
|
/** |
1265 |
|
* Get our assumed site creation date. |
projects/plugins/jetpack/class.jetpack.php 1 location
|
@@ 5500-5507 (lines=8) @@
|
5497 |
|
* |
5498 |
|
* @since 5.4 |
5499 |
|
**/ |
5500 |
|
public static function set_min_time_limit( $min_timeout ) { |
5501 |
|
$timeout = self::get_max_execution_time(); |
5502 |
|
if ( $timeout < $min_timeout ) { |
5503 |
|
$timeout = $min_timeout; |
5504 |
|
set_time_limit( $timeout ); |
5505 |
|
} |
5506 |
|
return $timeout; |
5507 |
|
} |
5508 |
|
|
5509 |
|
/** |
5510 |
|
* Takes the response from the Jetpack register new site endpoint and |