You are here

function feeds_cron_queue_info in Feeds 7.2

Same name and namespace in other branches
  1. 6 feeds.module \feeds_cron_queue_info()
  2. 7 feeds.module \feeds_cron_queue_info()

Implements hook_cron_queue_info().

Related topics

File

./feeds.module, line 117
Feeds - basic API functions and hook implementations.

Code

function feeds_cron_queue_info() {
  $queues = array();
  $queues['feeds_source_import'] = array(
    'worker callback' => 'feeds_source_import',
    'time' => 60,
  );
  $queues['feeds_source_clear'] = array(
    'worker callback' => 'feeds_source_clear',
  );
  $queues['feeds_source_expire'] = array(
    'worker callback' => 'feeds_source_expire',
  );
  $queues['feeds_push_unsubscribe'] = array(
    'worker callback' => 'feeds_push_unsubscribe',
  );
  $queues['feeds_sync_cache_feeds_http'] = array(
    'worker callback' => 'feeds_sync_cache_feeds_http',
  );
  return $queues;
}