class.jetpack.php 1 location
|
@@ 4995-5002 (lines=8) @@
|
| 4992 |
|
* |
| 4993 |
|
* @since 5.4 |
| 4994 |
|
**/ |
| 4995 |
|
public static function set_min_time_limit( $min_timeout ) { |
| 4996 |
|
$timeout = self::get_max_execution_time(); |
| 4997 |
|
if ( $timeout < $min_timeout ) { |
| 4998 |
|
$timeout = $min_timeout; |
| 4999 |
|
set_time_limit( $timeout ); |
| 5000 |
|
} |
| 5001 |
|
return $timeout; |
| 5002 |
|
} |
| 5003 |
|
|
| 5004 |
|
/** |
| 5005 |
|
* Takes the response from the Jetpack register new site endpoint and |
packages/connection/src/Manager.php 1 location
|
@@ 920-927 (lines=8) @@
|
| 917 |
|
* @since 5.4 |
| 918 |
|
* @param Integer $min_timeout the minimum timeout value. |
| 919 |
|
**/ |
| 920 |
|
public function set_min_time_limit( $min_timeout ) { |
| 921 |
|
$timeout = $this->get_max_execution_time(); |
| 922 |
|
if ( $timeout < $min_timeout ) { |
| 923 |
|
$timeout = $min_timeout; |
| 924 |
|
set_time_limit( $timeout ); |
| 925 |
|
} |
| 926 |
|
return $timeout; |
| 927 |
|
} |
| 928 |
|
|
| 929 |
|
/** |
| 930 |
|
* Get our assumed site creation date. |