From ee04f7b3e86457224159f91edf7f20ac44cf2d27 Mon Sep 17 00:00:00 2001
From: Jessica McKellar <jesstess@zulip.com>
Date: Wed, 12 Mar 2014 12:04:26 -0400
Subject: [PATCH] [puppet] Change digest email send time by 1 hour for daylight
savings.
(imported from commit 8ac1747f15e10b850f73ce28ea4579bee62ba1a4)
---
bots/check-rabbitmq-queue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bots/check-rabbitmq-queue b/bots/check-rabbitmq-queue
index cfc27be7..0b156116 100755
--- a/bots/check-rabbitmq-queue
+++ b/bots/check-rabbitmq-queue
@@ -50,7 +50,7 @@ now_struct = time.gmtime(now)
# While we are sending digest emails, at 11am each weekday, the mail queues can
# get backed up; don't alert on those.
if not set(warn_queues) - set(("missedmessage_emails", "digest_emails")) and \
- now_struct.tm_hour == 16 and now_struct.tm_min < 25:
+ now_struct.tm_hour == 15 and now_struct.tm_min < 25:
status = 0
print("%s|%s|%s|processing digests, not alerting on elevated mail queues" % (
now, status, states[status]))