[tor-commits] [donate/master] Reduced timespan for subscription limit

peterh at torproject.org peterh at torproject.org
Tue May 11 21:17:51 UTC 2021


commit 9468fabb761d31cc82a19aeaae3d213d0d9449c2
Author: Peter Haight <peterh at giantrabbit.com>
Date:   Wed Jul 22 11:16:41 2020 -0700

    Reduced timespan for subscription limit
    
    Reduced the timespan for subscriptions from a single IP address to 1
    hour. This increases the amount of subscriptions per IP address to 10
    per hour instead of 10 per 6 hours. We get a lot of subscription
    requests from specific Tor exit points and we think those are
    legitimate, so we don't want to block them.
    
    Issue #47628
---
 src/settings.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/settings.php b/src/settings.php
index c615f9c1..bb6ba7a2 100644
--- a/src/settings.php
+++ b/src/settings.php
@@ -8,7 +8,7 @@ $config = [
     'addContentLengthHeader' => false,
     'ipRateLimiter' => [
       'maxRequestsPerTimeSpan' => 10,
-      'timeSpan' => 21600,
+      'timeSpan' => 3600,
     ],
     'renderer' => [
       'cache_path' => __DIR__ . '/../tmp/cache/templates',





More information about the tor-commits mailing list