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