packages/connection/src/Manager.php 1 location
|
@@ 942-949 (lines=8) @@
|
939 |
|
* @since 5.4 |
940 |
|
* @param Integer $min_timeout the minimum timeout value. |
941 |
|
**/ |
942 |
|
public function set_min_time_limit( $min_timeout ) { |
943 |
|
$timeout = $this->get_max_execution_time(); |
944 |
|
if ( $timeout < $min_timeout ) { |
945 |
|
$timeout = $min_timeout; |
946 |
|
set_time_limit( $timeout ); |
947 |
|
} |
948 |
|
return $timeout; |
949 |
|
} |
950 |
|
|
951 |
|
/** |
952 |
|
* Get our assumed site creation date. |
class.jetpack.php 1 location
|
@@ 5002-5009 (lines=8) @@
|
4999 |
|
* |
5000 |
|
* @since 5.4 |
5001 |
|
**/ |
5002 |
|
public static function set_min_time_limit( $min_timeout ) { |
5003 |
|
$timeout = self::get_max_execution_time(); |
5004 |
|
if ( $timeout < $min_timeout ) { |
5005 |
|
$timeout = $min_timeout; |
5006 |
|
set_time_limit( $timeout ); |
5007 |
|
} |
5008 |
|
return $timeout; |
5009 |
|
} |
5010 |
|
|
5011 |
|
/** |
5012 |
|
* Takes the response from the Jetpack register new site endpoint and |