1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-09 16:32:39 +01:00

Disable rate limiting by default in general

Summary: This is still too rough to enable by default. We can turn it on for `secure.phabricator.com` and tweak it a bit first, and then release it in general with higher defaults and more sensible behavior in edge cases.

Test Plan: Loaded some pages.

Reviewers: btrahan, spicyj

Reviewed By: spicyj

Subscribers: epriestley

Differential Revision: https://secure.phabricator.com/D8736
This commit is contained in:
epriestley 2014-04-09 11:52:34 -07:00
parent b660960771
commit c887871d30

View file

@ -41,7 +41,11 @@ final class PhabricatorStartup {
private static $globals = array();
private static $capturingOutput;
private static $rawInput;
private static $maximumRate = 1000;
// TODO: For now, disable rate limiting entirely by default. We need to
// iterate on it a bit for Conduit, some of the specific score levels, and
// to deal with NAT'd offices.
private static $maximumRate = 0;
/* -( Accessing Request Information )-------------------------------------- */