You are here

function mailgun_cron_queue_info in Mailgun 7

Implements hook_cron_queue_info().

File

./mailgun.module, line 109
Provides integration with Mailgun's email sending API.

Code

function mailgun_cron_queue_info() {
  $queues = array();
  $queues['mailgun_queue'] = array(
    'worker callback' => 'mailgun_send',
    'time' => 60,
  );
  return $queues;
}