ActionScheduler_DataController::maybe_free_memory() – Free memory if conditions are met.

You appear to be a bot. Output may be restricted

Description

Free memory if conditions are met.

Usage

ActionScheduler_DataController::maybe_free_memory( $ticks );

Parameters

$ticks
( int ) required – Current tick count.

Returns

void

Source

File name: woocommerce/packages/action-scheduler/classes/ActionScheduler_DataController.php


Lines:

1 to 6 of 6
  public static function maybe_free_memory( $ticks ) {
    if ( self::$free_ticks && 0 === $ticks % self::$free_ticks ) {
      self::free_memory();
    }
  }
 

 View on GitHub View on Trac