1.20.x update.fetch.inc | _update_fetch_data() |
Attempts to drain the queue of tasks for release history data to fetch.
File
- modules/
update/ update.fetch.inc, line 113 - Code required only when fetching information about available updates.
Code
function _update_fetch_data() {
$queue = BackdropQueue::get('update_fetch_tasks');
$end = time() + config_get('update.settings', 'update_timeout');
while (time() < $end && ($item = $queue->claimItem())) {
_update_process_fetch_task($item->data);
$queue->deleteItem($item);
}
}