about summary refs log tree commit homepage
path: root/Documentation
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-03-12 01:18:30 +0000
committerEric Wong <e@80x24.org>2019-04-04 09:13:58 +0000
commit7661a5732ebf4470339c1293b2ea32082af887be (patch)
tree4bf344691bae2df70ad138f88c86f749b184b17a /Documentation
parent89be7a1b89a60446fc0a385c5c1cfaeec2f92c88 (diff)
downloadpublic-inbox-7661a5732ebf4470339c1293b2ea32082af887be.tar.gz
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.
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/public-inbox-config.pod4
1 files changed, 4 insertions, 0 deletions
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<RLIMIT_*> 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<publicinbox.cgitrc>
+
 =over 8
 
 =item publicinboxlimiter.<name>.max