summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/flist.c
diff options
context:
space:
mode:
authorJyri Sarha <jyri.sarha@nokia.com>2010-11-26 18:38:23 +0200
committerColin Guthrie <cguthrie@mandriva.org>2010-11-28 16:27:05 +0000
commit851a188cf6b7cbf3f40313c0c47481bab12ab21b (patch)
tree80432ffc4ccd589332c5cb6962c4f70a5fa57560 /src/pulsecore/flist.c
parent12b900858ae82d435c100d6eb94cb7bb22fe5e29 (diff)
core: Lower "flist is full" log message level to debug and ratelimit it
Diffstat (limited to 'src/pulsecore/flist.c')
-rw-r--r--src/pulsecore/flist.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pulsecore/flist.c b/src/pulsecore/flist.c
index 8e8c3cda..71feaa93 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);