Make SendTooFast higher vlog in lockless_queue
Change-Id: I97d044d74d18ce73415135b9a81df05485ae8107
Signed-off-by: Austin Schuh <austin.schuh@bluerivertech.com>
diff --git a/aos/ipc_lib/lockless_queue.cc b/aos/ipc_lib/lockless_queue.cc
index f380848..8e0e3d8 100644
--- a/aos/ipc_lib/lockless_queue.cc
+++ b/aos/ipc_lib/lockless_queue.cc
@@ -1063,11 +1063,12 @@
"Retrying.";
continue;
} else {
- VLOG(3) << "Messages sent too fast. Returning. Attempted index: "
+ VLOG(1) << "Messages sent too fast. Returning. Attempted index: "
<< decremented_queue_index.index()
<< " message sent time: " << message->header.monotonic_sent_time
<< " message to replace sent time: "
<< to_replace_monotonic_sent_time;
+
// Since we are not using the message obtained from scratch_index
// and we are not retrying, we need to invalidate its queue_index.
message->header.queue_index.Invalidate();