Browse Source

MT#55283 decrease log severity

These are not hard failures

closes #1813

Change-Id: Ie8862a818af73134602b7367c74685ab573c425d
pull/1819/head
Richard Fuchs 2 years ago
parent
commit
41a43218c6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      daemon/media_socket.c

+ 2
- 2
daemon/media_socket.c View File

@ -3142,7 +3142,7 @@ static void stream_fd_readable(int fd, void *p, uintptr_t u) {
int strikes = g_atomic_int_get(&sfd->error_strikes);
if (strikes >= MAX_RECV_LOOP_STRIKES) {
ilog(LOG_ERROR | LOG_FLAG_LIMIT, "UDP receive queue exceeded %i times: "
ilog(LOG_WARN | LOG_FLAG_LIMIT, "UDP receive queue exceeded %i times: "
"discarding packet", strikes);
// Polling is edge-triggered so we won't immediately get here again.
// We could remove ourselves from the poller though. Maybe call stream_fd_closed?
@ -3154,7 +3154,7 @@ restart:
for (iters = 0; ; iters++) {
#if MAX_RECV_ITERS
if (iters >= rtpe_config.max_recv_iters) {
ilog(LOG_ERROR | LOG_FLAG_LIMIT, "Too many packets in UDP receive queue (more than %d), "
ilog(LOG_WARN | LOG_FLAG_LIMIT, "Too many packets in UDP receive queue (more than %d), "
"aborting loop. Dropped packets possible", iters);
g_atomic_int_inc(&sfd->error_strikes);
g_atomic_int_set(&sfd->active_read_events,0);


Loading…
Cancel
Save