projects/packages/connection/src/class-manager.php 1 location
|
@@ 1214-1221 (lines=8) @@
|
| 1211 |
|
* @since 5.4 |
| 1212 |
|
* @param Integer $min_timeout the minimum timeout value. |
| 1213 |
|
**/ |
| 1214 |
|
public function set_min_time_limit( $min_timeout ) { |
| 1215 |
|
$timeout = $this->get_max_execution_time(); |
| 1216 |
|
if ( $timeout < $min_timeout ) { |
| 1217 |
|
$timeout = $min_timeout; |
| 1218 |
|
set_time_limit( $timeout ); |
| 1219 |
|
} |
| 1220 |
|
return $timeout; |
| 1221 |
|
} |
| 1222 |
|
|
| 1223 |
|
/** |
| 1224 |
|
* Get our assumed site creation date. |
projects/plugins/jetpack/class.jetpack.php 1 location
|
@@ 5505-5512 (lines=8) @@
|
| 5502 |
|
* |
| 5503 |
|
* @since 5.4 |
| 5504 |
|
**/ |
| 5505 |
|
public static function set_min_time_limit( $min_timeout ) { |
| 5506 |
|
$timeout = self::get_max_execution_time(); |
| 5507 |
|
if ( $timeout < $min_timeout ) { |
| 5508 |
|
$timeout = $min_timeout; |
| 5509 |
|
set_time_limit( $timeout ); |
| 5510 |
|
} |
| 5511 |
|
return $timeout; |
| 5512 |
|
} |
| 5513 |
|
|
| 5514 |
|
/** |
| 5515 |
|
* Takes the response from the Jetpack register new site endpoint and |