We had an issue where we ran a drush command to clear the exact target soap queue, but it ran for 600 seconds (which was the timeout we gave it) and did not send out an email even though there were still API requests in the queue.

Here's the diff:

=== modified file 'drupal/sites/all/modules/exact_target_soap/exact_target_soap.batch.inc'
--- drupal/sites/all/modules/exact_target_soap/exact_target_soap.batch.inc	2011-09-14 20:40:04 +0000
+++ drupal/sites/all/modules/exact_target_soap/exact_target_soap.batch.inc	2012-02-02 19:47:08 +0000
@@ -187,7 +187,7 @@
 
   // Send a message if there are still items in the batch and the site admin
   // wants to be notified of this.
-  if ($type != 'status' && variable_get('exact_target_soap_cleanup', EXACT_TARGET_SOAP_CLEANUP_NOTHING) != EXACT_TARGET_SOAP_CLEANUP_MAIL) {
+  if ($type != 'status' && variable_get('exact_target_soap_cleanup', EXACT_TARGET_SOAP_CLEANUP_NOTHING) == EXACT_TARGET_SOAP_CLEANUP_MAIL) {
     $to = variable_get('exact_target_soap_mail', variable_get('site_mail', ''));
     drupal_mail('exact_target_soap', 'failure', $to, language_default());
   }

Comments

elliotttf’s picture

Status: Active » Fixed

Fixed @ d335e472eb and released in 6.x-1.1

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.