From e278140516c5fce346d882dd9ac51558f17cd14c Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 6 Apr 2010 11:17:39 -0700 Subject: [PATCH] dpif: Really don't log many dpif errors. The comment here was out of touch with the actual definition. Limiting a log message to 9999 per minute is not much of a limit! I suspect that I turned this way up during initial development at some point and forgot to turn it down to a reasonable level. --- lib/dpif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dpif.c b/lib/dpif.c index 315f11f9..8e5cf9ff 100644 --- a/lib/dpif.c +++ b/lib/dpif.c @@ -58,7 +58,7 @@ static struct shash dpif_classes = SHASH_INITIALIZER(&dpif_classes); static struct vlog_rate_limit dpmsg_rl = VLOG_RATE_LIMIT_INIT(600, 600); /* Not really much point in logging many dpif errors. */ -static struct vlog_rate_limit error_rl = VLOG_RATE_LIMIT_INIT(9999, 5); +static struct vlog_rate_limit error_rl = VLOG_RATE_LIMIT_INIT(60, 5); static void log_operation(const struct dpif *, const char *operation, int error); -- 2.30.2