diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-01-24 01:36:43 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-01-24 01:36:43 +0100 |
commit | afd817a0b607d732a7bfd2b31cef8a5b8cf9ab09 (patch) | |
tree | e7738f0c3680eedfb00bbe9fbf00d3ba3c1fbd8d /src/pulsecore | |
parent | a365c8212d24f80acbdadc927b696dd083507b53 (diff) |
rate limit a warning
Diffstat (limited to 'src/pulsecore')
-rw-r--r-- | src/pulsecore/asyncq.c | 3 |
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); |