[pulseaudio-discuss] [PATCH 1/5] core: Lower "flist is full" log message level to debug and ratelimit it

oku at iki.fi oku at iki.fi
Fri Nov 26 08:38:23 PST 2010


From: Jyri Sarha <jyri.sarha at nokia.com>

---
 src/pulsecore/flist.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/pulsecore/flist.c b/src/pulsecore/flist.c
index 8e8c3cd..71feaa9 100644
--- a/src/pulsecore/flist.c
+++ b/src/pulsecore/flist.c
@@ -116,7 +116,8 @@ int pa_flist_push(pa_flist *l, void *p) {
 
     elem = stack_pop(&l->empty);
     if (elem == NULL) {
-        pa_log_warn("flist is full");
+        if (pa_log_ratelimit())
+            pa_log_debug("flist is full (don't worry)");
         return -1;
     }
     pa_atomic_ptr_store(&elem->ptr, p);
-- 
1.7.1




More information about the pulseaudio-discuss mailing list