Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
oai
openairinterface5G
Commits
dbdfe06d
Commit
dbdfe06d
authored
1 year ago
by
Luis Pereira
Browse files
Options
Downloads
Patches
Plain Diff
Fix comment from 10% to 25%
parent
cf36c6d8
No related branches found
No related tags found
2 merge requests
!2363
integration_2023_w39
,
!2320
Reduce ITTI log message volume when queues full
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/utils/ocp_itti/intertask_interface.cpp
+1
-1
1 addition, 1 deletion
common/utils/ocp_itti/intertask_interface.cpp
with
1 addition
and
1 deletion
common/utils/ocp_itti/intertask_interface.cpp
+
1
−
1
View file @
dbdfe06d
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment