core: Lower "flist is full" log message level to debug and ratelimit it

This commit is contained in:
Jyri Sarha 2010-11-26 18:38:23 +02:00 committed by Colin Guthrie
parent 12b900858a
commit 851a188cf6

View file

@ -116,7 +116,8 @@ int pa_flist_push(pa_flist *l, void *p) {
elem = stack_pop(&l->empty); elem = stack_pop(&l->empty);
if (elem == NULL) { if (elem == NULL) {
pa_log_warn("flist is full"); if (pa_log_ratelimit())
pa_log_debug("flist is full (don't worry)");
return -1; return -1;
} }
pa_atomic_ptr_store(&elem->ptr, p); pa_atomic_ptr_store(&elem->ptr, p);