packages/connection/src/Manager.php 1 location
|
@@ 1030-1037 (lines=8) @@
|
| 1027 |
|
* @since 5.4 |
| 1028 |
|
* @param Integer $min_timeout the minimum timeout value. |
| 1029 |
|
**/ |
| 1030 |
|
public function set_min_time_limit( $min_timeout ) { |
| 1031 |
|
$timeout = $this->get_max_execution_time(); |
| 1032 |
|
if ( $timeout < $min_timeout ) { |
| 1033 |
|
$timeout = $min_timeout; |
| 1034 |
|
set_time_limit( $timeout ); |
| 1035 |
|
} |
| 1036 |
|
return $timeout; |
| 1037 |
|
} |
| 1038 |
|
|
| 1039 |
|
/** |
| 1040 |
|
* Get our assumed site creation date. |
class.jetpack.php 1 location
|
@@ 5129-5136 (lines=8) @@
|
| 5126 |
|
* |
| 5127 |
|
* @since 5.4 |
| 5128 |
|
**/ |
| 5129 |
|
public static function set_min_time_limit( $min_timeout ) { |
| 5130 |
|
$timeout = self::get_max_execution_time(); |
| 5131 |
|
if ( $timeout < $min_timeout ) { |
| 5132 |
|
$timeout = $min_timeout; |
| 5133 |
|
set_time_limit( $timeout ); |
| 5134 |
|
} |
| 5135 |
|
return $timeout; |
| 5136 |
|
} |
| 5137 |
|
|
| 5138 |
|
/** |
| 5139 |
|
* Takes the response from the Jetpack register new site endpoint and |