mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-21 22:32:41 +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:
parent
b660960771
commit
c887871d30
1 changed files with 5 additions and 1 deletions
|
@ -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 )-------------------------------------- */
|
||||
|
|
Loading…
Reference in a new issue