From 7661a5732ebf4470339c1293b2ea32082af887be Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 12 Mar 2019 01:18:30 +0000 Subject: cgit: use a dedicated named limiter I mainly need this to enforce RLIMIT_CPU (and RLIMIT_CORE) when requests come which generate giant, unrealistic diffs. Per-coderepo limiters may be added in the future. But for now, I need to prevent cgit from monopolizing resources on my dinky server. --- Documentation/public-inbox-config.pod | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Documentation') diff --git a/Documentation/public-inbox-config.pod b/Documentation/public-inbox-config.pod index dae69987..d6ecd086 100644 --- a/Documentation/public-inbox-config.pod +++ b/Documentation/public-inbox-config.pod @@ -231,6 +231,10 @@ the default limiter. C keys may be set to enforce resource limits for a particular limiter. +Default named-limiters are prefixed with "-". Currently, +the "-cgit" named limiter is reserved for instances spawning +cgit via C + =over 8 =item publicinboxlimiter..max -- cgit v1.2.3-24-ge0c7