function _update_fetch_data

Attempts to drain the queue of tasks for release history data to fetch.

1 call to _update_fetch_data()
update_fetch_data in modules/update/update.module
Attempts to fetch update data after loading the necessary include file.

File

modules/update/update.fetch.inc, line 112

Code

function _update_fetch_data() {
    $queue = DrupalQueue::get('update_fetch_tasks');
    $end = time() + variable_get('update_max_fetch_time', UPDATE_MAX_FETCH_TIME);
    while (time() < $end && ($item = $queue->claimItem())) {
        _update_process_fetch_task($item->data);
        $queue->deleteItem($item);
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.