You are here

public static function AcquiaLiftQueue::handleFailedItem in Acquia Lift Connector 7

Takes necessary steps when an item has failed permanently.

Parameters

$item:

2 calls to AcquiaLiftQueue::handleFailedItem()
AcquiaLiftQueue::releaseItem in includes/acquia_lift.classes.inc
Overrides SystemQueue::releaseItem().
acquia_lift_process_queue in ./acquia_lift.module
Page callback - runs the Acquia Lift queue.

File

includes/acquia_lift.classes.inc, line 1872
Provides an agent type for Acquia Lift

Class

AcquiaLiftQueue
Class AcquiaLiftQueue

Code

public static function handleFailedItem($item) {
  if (!isset($item->data['agent'])) {
    return;
  }
  personalize_pause_if_running($item->data['agent']);
}