function commerce_invoice_pdf_advanced_queue_info in Commerce Invoice 7.2
Implements hook_advanced_queue_info().
File
- modules/
pdf/ commerce_invoice_pdf.module, line 462 - The Commerce Invoice PDF module.
Code
function commerce_invoice_pdf_advanced_queue_info() {
$items['commerce_invoice_pdf_create_queue'] = array(
'label' => t('Create PDF invoices queue'),
'worker callback' => 'commerce_invoice_pdf_create_worker',
'retry after' => 30,
'max attempts' => 5,
// PDF creation is relatively slow process with a low priority
'weight' => 100,
);
return $items;
}