unread: Downgrade unread race logging to not an error.

We added this logging statement in
8d33a62eca, and we now have the data to
suggest this will happen in normal operation.

I left this as a blueslip.log, since it may be useful to see in the
leadup to another exception.
This commit is contained in:
Tim Abbott
2022-11-01 22:46:24 -07:00
parent 8dd3579885
commit 3ea1311f56

View File

@@ -575,9 +575,7 @@ export function process_loaded_messages(messages, expect_no_new_unreads = false)
// to a view and the message_fetch request returns
// before server_events system delivers the message to
// the client.
//
// For now, log it as a blueslip error so we can learn its prevalence.
blueslip.error("New unread discovered in process_loaded_messages.");
blueslip.log(`New unread ${message.id} discovered in process_loaded_messages.`);
}
const user_ids_string =