class.jetpack.php 1 location
|
@@ 4940-4947 (lines=8) @@
|
4937 |
|
* |
4938 |
|
* @since 5.4 |
4939 |
|
**/ |
4940 |
|
public static function set_min_time_limit( $min_timeout ) { |
4941 |
|
$timeout = self::get_max_execution_time(); |
4942 |
|
if ( $timeout < $min_timeout ) { |
4943 |
|
$timeout = $min_timeout; |
4944 |
|
set_time_limit( $timeout ); |
4945 |
|
} |
4946 |
|
return $timeout; |
4947 |
|
} |
4948 |
|
|
4949 |
|
/** |
4950 |
|
* @return bool|WP_Error |
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. |