From 9ae0647d09880f32529750509bfeeee31ce578e0 Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Wed, 6 Aug 2014 09:03:23 +0100 Subject: Attempt to force ordering of emails when delivering several --- lib/MGA/Advisories.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/MGA/Advisories.pm') 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"); } -- cgit v1.2.1