You are here

function acquia_lift_cron_queue_info in Acquia Lift Connector 7

Implements hook_cron_queue_info().

File

./acquia_lift.module, line 462
acquia_lift.module Provides Acquia Lift-specific personalization functionality.

Code

function acquia_lift_cron_queue_info() {
  $queues['acquia_lift_sync'] = array(
    'worker callback' => 'acquia_lift_sync_item',
    // All of the items in this queue will be making a PUT, POST, or DELETE
    // request to the Lift API, so the timeout here should match the timeout
    // we use for those http requests.
    'time' => AcquiaLiftDrupalHttpClient::REQUEST_TIMEOUT_VALUE_DEFAULT,
  );
  return $queues;
}