From 8829bbd41f43ec8dd8771f141014c98971be0e20 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Mon, 26 May 2025 10:51:30 -0500 Subject: [PATCH] Fix redis keys --- bin/notify_inbound_failures_job | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/notify_inbound_failures_job b/bin/notify_inbound_failures_job index 587d1f68a05c841a95251ca27cbef5054195fe8e..9a9cf6006bb0b925d40c87d0c28004cb1d72dd6e 100755 --- a/bin/notify_inbound_failures_job +++ b/bin/notify_inbound_failures_job @@ -156,7 +156,7 @@ EM.run do redis = EM::Hiredis.connect EMPromise.resolve( - redis.mget("bw_last_msg_failed_date", "bw_last_msg_failed_id") + redis.mget("bw_last_message_failed_time", "bw_last_message_failed_id") ).then { |(last_msg_date, last_msg_id)| thirty_mins_ago = (Time.now - 30 * 60).strftime("%Y-%m-%dT%H:%M:%S.%LZ") last_msg_date ||= thirty_mins_ago