diff options
author | Richard Linden <none@none> | 2011-04-19 20:17:05 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2011-04-19 20:17:05 -0700 |
commit | 98ec4db650c2dbae0e28ae186a43218bff344b49 (patch) | |
tree | f2a630d9cbaca3c6dcf696dce262d8b9140302f5 /indra/newview/llcommandhandler.cpp | |
parent | fe91b0dbf27c432f71ea2ac01997adf332179cc0 (diff) | |
parent | 6b47a5ec782257b1aba31b0c9bec8c6f3709ba6f (diff) |
merge
Diffstat (limited to 'indra/newview/llcommandhandler.cpp')
-rw-r--r-- | indra/newview/llcommandhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llcommandhandler.cpp b/indra/newview/llcommandhandler.cpp index bb1fb41fae..19dba3f917 100644 --- a/indra/newview/llcommandhandler.cpp +++ b/indra/newview/llcommandhandler.cpp @@ -35,7 +35,7 @@ // system includes #include <boost/tokenizer.hpp> -#define THROTTLE_PERIOD 20 // required secs between throttled commands +#define THROTTLE_PERIOD 5 // required seconds between throttled commands static LLCommandDispatcherListener sCommandDispatcherListener; @@ -134,7 +134,7 @@ bool LLCommandHandlerRegistry::dispatch(const std::string& cmd, if (cur_time < last_throttle_time + THROTTLE_PERIOD) { // block request from external browser if it happened - // within THROTTLE_PERIOD secs of the last command + // within THROTTLE_PERIOD seconds of the last command LL_WARNS_ONCE("SLURL") << "Throttled SLURL command from untrusted browser" << LL_ENDL; if (! slurl_throttled) { |