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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Jyri Sarha <jyri.sarha@xxxxxxxxx>

---
 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




[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux