WordPress at Your Fingertips
function is not described

ActionScheduler_WPCLI_QueueRunner::stop_the_insanity() protected WC 1.0

Deprecated from version 3.0.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Sleep and help avoid hitting memory limit

{} It's a method of the class: ActionScheduler_WPCLI_QueueRunner{}

No Hooks.


null. Nothing.


// protected - for code of main (parent) or child class
$result = $this->stop_the_insanity( $sleep_time );
Amount of seconds to sleep


Deprecated 3.0.0

Code of ActionScheduler_WPCLI_QueueRunner::stop_the_insanity() WC 6.1.1

protected function stop_the_insanity( $sleep_time = 0 ) {
	_deprecated_function( 'ActionScheduler_WPCLI_QueueRunner::stop_the_insanity', '3.0.0', 'ActionScheduler_DataController::free_memory' );