diff options
author | Colin Guthrie <colin@mageia.org> | 2014-08-06 09:03:23 +0100 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2014-08-06 09:03:23 +0100 |
commit | 9ae0647d09880f32529750509bfeeee31ce578e0 (patch) | |
tree | 5eeb4000a9ffbed465f8c5e0433ad5c2f1ba6d0e | |
parent | b3a20e70d66579b37cadc443ec166978612226db (diff) | |
download | mgaadvisories-9ae0647d09880f32529750509bfeeee31ce578e0.tar mgaadvisories-9ae0647d09880f32529750509bfeeee31ce578e0.tar.gz mgaadvisories-9ae0647d09880f32529750509bfeeee31ce578e0.tar.bz2 mgaadvisories-9ae0647d09880f32529750509bfeeee31ce578e0.tar.xz mgaadvisories-9ae0647d09880f32529750509bfeeee31ce578e0.zip |
Attempt to force ordering of emails when delivering several
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | lib/MGA/Advisories.pm | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,5 @@ +- add a sleep when delivering mails to attempt to force ordering + Version 0.18 - close bugs automatically when processing advisories diff --git a/lib/MGA/Advisories.pm b/lib/MGA/Advisories.pm index 7058d3b..c0f4047 100644 --- a/lib/MGA/Advisories.pm +++ b/lib/MGA/Advisories.pm @@ -471,6 +471,8 @@ sub send_adv_mail { report_log("Advisory mail for $adv sent"); $advdb->{advisories}{$adv}{status}{mail_sent} = time(); save_status($advdb, $adv); + # Attempt to make the mail delivery "in order" + sleep 1; } else { report_log("Error sending advisory mail $adv"); } |