@@ -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