function feeds_cron_queue_info in Feeds 6
Same name and namespace in other branches
- 7.2 feeds.module \feeds_cron_queue_info()
- 7 feeds.module \feeds_cron_queue_info()
Implementation of hook_cron_queue_info().
Invoked by drupal_queue module if present.
Related topics
File
- ./
feeds.module, line 47 - 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' => variable_get('feeds_worker_time', 15),
);
$queues['feeds_importer_expire'] = array(
'worker callback' => 'feeds_importer_expire',
'time' => variable_get('feeds_worker_time', 15),
);
return $queues;
}