You are here

function boost_crawler_cron_queue_info in Boost 7

Implements hook_cron_queue_info().

File

boost_crawler/boost_crawler.module, line 30
Minimal crawler to regenerate the cache as pages are expired.

Code

function boost_crawler_cron_queue_info() {
  $queues['boost_crawler'] = array(
    'worker callback' => 'boost_crawler_run',
    // Max run time to claim per cron run (in seconds).
    'time' => variable_get('boost_crawl_queue_seconds', 30),
  );
  return $queues;
}