Skip to content
Snippets Groups Projects
Commit dbdfe06d authored by Luis Pereira's avatar Luis Pereira
Browse files

Fix comment from 10% to 25%

parent cf36c6d8
No related branches found
No related tags found
2 merge requests!2363integration_2023_w39,!2320Reduce ITTI log message volume when queues full
...@@ -132,7 +132,7 @@ extern "C" { ...@@ -132,7 +132,7 @@ extern "C" {
int message_id = message->ittiMsgHeader.messageId; int message_id = message->ittiMsgHeader.messageId;
size_t s=t->message_queue.size(); size_t s=t->message_queue.size();
// to reduce the number of logs, we give a message each increase of 10% // to reduce the number of logs, we give a message each increase of 25%
if ((s > t->last_log_size * 1.25) && (s > t->admin.queue_size / 10)) { if ((s > t->last_log_size * 1.25) && (s > t->admin.queue_size / 10)) {
if (s > t->admin.queue_size) { if (s > t->admin.queue_size) {
LOG_E(TMR, "Queue for %s task contains %ld messages\n", itti_get_task_name(destination_task_id), s); LOG_E(TMR, "Queue for %s task contains %ld messages\n", itti_get_task_name(destination_task_id), s);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment