summaryrefslogtreecommitdiffstats
path: root/src/pulsecore/asyncq.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-01-24 01:36:43 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-24 01:36:43 +0100
commitafd817a0b607d732a7bfd2b31cef8a5b8cf9ab09 (patch)
treee7738f0c3680eedfb00bbe9fbf00d3ba3c1fbd8d /src/pulsecore/asyncq.c
parenta365c8212d24f80acbdadc927b696dd083507b53 (diff)
rate limit a warning
Diffstat (limited to 'src/pulsecore/asyncq.c')
-rw-r--r--src/pulsecore/asyncq.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pulsecore/asyncq.c b/src/pulsecore/asyncq.c
index c9815054..67f661fe 100644
--- a/src/pulsecore/asyncq.c
+++ b/src/pulsecore/asyncq.c
@@ -206,7 +206,8 @@ void pa_asyncq_post(pa_asyncq*l, void *p) {
/* OK, we couldn't push anything in the queue. So let's queue it
* locally and push it later */
- pa_log("q overrun, queuing locally");
+ if (pa_log_ratelimit())
+ pa_log_warn("q overrun, queuing locally");
if (!(q = pa_flist_pop(PA_STATIC_FLIST_GET(localq))))
q = pa_xnew(struct localq, 1);