From 4818f1c223c5857c1d0b7319a513d3236819f2c0 Mon Sep 17 00:00:00 2001 From: Denver Gingerich Date: Thu, 16 Apr 2020 22:06:12 +0000 Subject: [PATCH] fix queue names (missed in ec34edf) & add key name --- r2s-bwmsgsv2.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/r2s-bwmsgsv2.rb b/r2s-bwmsgsv2.rb index d0d704fa5f175b22159156b93844df9551689317..bca221bc405adfd5a5ce36559d08e17c89883d3c 100755 --- a/r2s-bwmsgsv2.rb +++ b/r2s-bwmsgsv2.rb @@ -87,8 +87,9 @@ while true # if got HTTP 200, then: # redis.set(...) with expiration of 3 days, including timestamps + # use key: archived_message-#{ARGV[0]}-#{tai_yyyymmdd}-#{day_msg_count} - # confirm ARGV[1] key has one element and e == timestamps_plus_json_blob - # if so, then rpop ARGV[1] and discard + # confirm pending key has one element and e == timestamps_plus_json_blob + # if so, then rpop pending_messages-#{ARGV[0]} and discard # if not, then email or other notify, and probably exit with failure end