diff options
author | Justin Clark-Casey (justincc) | 2011-01-19 01:13:10 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-01-19 01:13:10 +0000 |
commit | a42faca5b92f5c17c16b79fcf0df446d1aa08ae1 (patch) | |
tree | d7212023df98c6be68a6caf2b7776a1c9c360ffa /OpenSim | |
parent | Downgrade and comment out some other caps messages for now (diff) | |
download | opensim-SC_OLD-a42faca5b92f5c17c16b79fcf0df446d1aa08ae1.zip opensim-SC_OLD-a42faca5b92f5c17c16b79fcf0df446d1aa08ae1.tar.gz opensim-SC_OLD-a42faca5b92f5c17c16b79fcf0df446d1aa08ae1.tar.bz2 opensim-SC_OLD-a42faca5b92f5c17c16b79fcf0df446d1aa08ae1.tar.xz |
With mic's permission, adjust long call time info messages to 500ms from 200ms
Diffstat (limited to 'OpenSim')
3 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs index 86ad7aa..d4ee7ba 100644 --- a/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs +++ b/OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs | |||
@@ -587,8 +587,9 @@ namespace OpenSim.Framework.Servers.HttpServer | |||
587 | // Every month or so this will wrap and give bad numbers, not really a problem | 587 | // Every month or so this will wrap and give bad numbers, not really a problem |
588 | // since its just for reporting, 200ms limit can be adjusted | 588 | // since its just for reporting, 200ms limit can be adjusted |
589 | int tickdiff = Environment.TickCount - tickstart; | 589 | int tickdiff = Environment.TickCount - tickstart; |
590 | if (tickdiff > 200) | 590 | if (tickdiff > 500) |
591 | m_log.InfoFormat("[BASE HTTP SERVER]: slow request <{0}> for {1} took {2} ms",reqnum,request.RawUrl,tickdiff); | 591 | m_log.InfoFormat( |
592 | "[BASE HTTP SERVER]: slow request <{0}> for {1} took {2} ms", reqnum, request.RawUrl, tickdiff); | ||
592 | } | 593 | } |
593 | } | 594 | } |
594 | 595 | ||
diff --git a/OpenSim/Framework/WebUtil.cs b/OpenSim/Framework/WebUtil.cs index d88d095..d731ac5 100644 --- a/OpenSim/Framework/WebUtil.cs +++ b/OpenSim/Framework/WebUtil.cs | |||
@@ -58,7 +58,7 @@ namespace OpenSim.Framework | |||
58 | 58 | ||
59 | // number of milliseconds a call can take before it is considered | 59 | // number of milliseconds a call can take before it is considered |
60 | // a "long" call for warning & debugging purposes | 60 | // a "long" call for warning & debugging purposes |
61 | public const int LongCallTime = 200; | 61 | public const int LongCallTime = 500; |
62 | 62 | ||
63 | /// <summary> | 63 | /// <summary> |
64 | /// Send LLSD to an HTTP client in application/llsd+json form | 64 | /// Send LLSD to an HTTP client in application/llsd+json form |
diff --git a/OpenSim/Region/CoreModules/Avatar/Assets/NewFileAgentInventoryVariablePriceModule.cs b/OpenSim/Region/CoreModules/Avatar/Assets/NewFileAgentInventoryVariablePriceModule.cs index af26b2b..63fad88 100644 --- a/OpenSim/Region/CoreModules/Avatar/Assets/NewFileAgentInventoryVariablePriceModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Assets/NewFileAgentInventoryVariablePriceModule.cs | |||
@@ -104,7 +104,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Assets | |||
104 | { | 104 | { |
105 | UUID capID = UUID.Random(); | 105 | UUID capID = UUID.Random(); |
106 | 106 | ||
107 | m_log.Info("[GETMESH]: /CAPS/" + capID); | 107 | // m_log.Debug("[NEW FILE AGENT INVENTORY VARIABLE PRICE]: /CAPS/" + capID); |
108 | caps.RegisterHandler("NewFileAgentInventoryVariablePrice", | 108 | caps.RegisterHandler("NewFileAgentInventoryVariablePrice", |
109 | 109 | ||
110 | new LLSDStreamhandler<LLSDAssetUploadRequest, LLSDNewFileAngentInventoryVariablePriceReplyResponse>("POST", | 110 | new LLSDStreamhandler<LLSDAssetUploadRequest, LLSDNewFileAngentInventoryVariablePriceReplyResponse>("POST", |